<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JSON parsing error in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-parsing-error/m-p/1632394#M4444</link>
    <description>&lt;P&gt;Hi all, i've got a strange problem using a rest connection to get some json data.&lt;/P&gt;&lt;P&gt;the json table is very simple:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RestConnectorMasterTable:
SQL SELECT 
	"id",
	"project_id",
	"work_unit_type_id",
	"time_from",
	"duration_minutes",
	"location_type",
	"person_id",
	"notes",
	"planned_flag",
	"excluded_from_billing"
FROM JSON (wrap on) "root"&lt;/LI-CODE&gt;&lt;P&gt;When I load it with qlikview or in qliksense preview everything goes fine. The problem is that in qliksense, when I load data I get this error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Si è verificato il seguente errore:
Unexpected token: '.', expected one of: 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', 'like', 'and', ...
L'errore si è verificato qui:
if [{"id":"b63d6c49-bdbd-4b2c-beac-6f7928d56111","project_id":"da7d3bb3-ac34-4a8e-be90-78dbefe0edbf","work_unit_type_id":"724263df-7846-46be-879c-4e9480ce6feb","time_from":"2019-01-07T00:00:00.000+01:00","duration_minutes":480,"location_type":"workplace","person_id":"244ba955-df86-407c-9292-8001f4f22d2f","notes":"Check disposizione materiale e carrelli in linea [4h]&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;.&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;\n&lt;/LI-CODE&gt;&lt;P&gt;It seems that it doesn't like the dot character. Does anyone know what the problem is and if i can use a workaround?&lt;/P&gt;&lt;P&gt;p.s. I tried it on qlikview personal edition but i cannot use it to develop this app&lt;/P&gt;</description>
    <pubDate>Tue, 28 Dec 2021 20:26:06 GMT</pubDate>
    <dc:creator>gian_ve77</dc:creator>
    <dc:date>2021-12-28T20:26:06Z</dc:date>
    <item>
      <title>JSON parsing error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-parsing-error/m-p/1632394#M4444</link>
      <description>&lt;P&gt;Hi all, i've got a strange problem using a rest connection to get some json data.&lt;/P&gt;&lt;P&gt;the json table is very simple:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RestConnectorMasterTable:
SQL SELECT 
	"id",
	"project_id",
	"work_unit_type_id",
	"time_from",
	"duration_minutes",
	"location_type",
	"person_id",
	"notes",
	"planned_flag",
	"excluded_from_billing"
FROM JSON (wrap on) "root"&lt;/LI-CODE&gt;&lt;P&gt;When I load it with qlikview or in qliksense preview everything goes fine. The problem is that in qliksense, when I load data I get this error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Si è verificato il seguente errore:
Unexpected token: '.', expected one of: 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', 'like', 'and', ...
L'errore si è verificato qui:
if [{"id":"b63d6c49-bdbd-4b2c-beac-6f7928d56111","project_id":"da7d3bb3-ac34-4a8e-be90-78dbefe0edbf","work_unit_type_id":"724263df-7846-46be-879c-4e9480ce6feb","time_from":"2019-01-07T00:00:00.000+01:00","duration_minutes":480,"location_type":"workplace","person_id":"244ba955-df86-407c-9292-8001f4f22d2f","notes":"Check disposizione materiale e carrelli in linea [4h]&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;.&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;\n&lt;/LI-CODE&gt;&lt;P&gt;It seems that it doesn't like the dot character. Does anyone know what the problem is and if i can use a workaround?&lt;/P&gt;&lt;P&gt;p.s. I tried it on qlikview personal edition but i cannot use it to develop this app&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 20:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-parsing-error/m-p/1632394#M4444</guid>
      <dc:creator>gian_ve77</dc:creator>
      <dc:date>2021-12-28T20:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSON parsing error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-parsing-error/m-p/1633447#M4467</link>
      <description>&lt;P&gt;The problem seems on "notes" field...&lt;/P&gt;&lt;P&gt;Can you check your source string into your source database? Maybe therse is a character not supported by QlikSense Rest connector which graphically seems a dot but it's not... Could be a similar character but with different ascii code.&lt;/P&gt;&lt;P&gt;The data preview works because it loads only a subset of records... this is the reason why i think is a problem linked to a specific record.&lt;/P&gt;&lt;P&gt;Can you share your rest connection parameters?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 06:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-parsing-error/m-p/1633447#M4467</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2019-10-10T06:45:51Z</dc:date>
    </item>
  </channel>
</rss>

