<?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 Python Qlik Sense QRS API get failing - JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Python-Qlik-Sense-QRS-API-get-failing-JSONDecodeError-quot/m-p/1893405#M16294</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we're trying to implement the Python code found in the Qlik Community knowledge base that uses requests.get to call API endpoints.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see code here - option 1:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/Call-the-Qlik-Sense-QRS-API-with-Python/ta-p/1715877" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Knowledge/Call-the-Qlik-Sense-QRS-API-with-Python/ta-p/1715877&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The line that decodes the json response data failes.&amp;nbsp; &amp;nbsp;See "for app in resp.json():"&lt;/P&gt;
&lt;P&gt;The error is:&amp;nbsp;&amp;nbsp;JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)&lt;/P&gt;
&lt;P&gt;The data being returned is encoded in&amp;nbsp;&lt;SPAN&gt;ISO-8859-1.&amp;nbsp; It probably needs to be&amp;nbsp;UTF-8.&amp;nbsp; Also, dumping the contents results in html, not json.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Has anyone solved this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 22:13:08 GMT</pubDate>
    <dc:creator>JohnDatEng</dc:creator>
    <dc:date>2022-02-15T22:13:08Z</dc:date>
    <item>
      <title>Python Qlik Sense QRS API get failing - JSONDecodeError("Expecting value", s, err.value)</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Python-Qlik-Sense-QRS-API-get-failing-JSONDecodeError-quot/m-p/1893405#M16294</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we're trying to implement the Python code found in the Qlik Community knowledge base that uses requests.get to call API endpoints.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see code here - option 1:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/Call-the-Qlik-Sense-QRS-API-with-Python/ta-p/1715877" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Knowledge/Call-the-Qlik-Sense-QRS-API-with-Python/ta-p/1715877&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The line that decodes the json response data failes.&amp;nbsp; &amp;nbsp;See "for app in resp.json():"&lt;/P&gt;
&lt;P&gt;The error is:&amp;nbsp;&amp;nbsp;JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)&lt;/P&gt;
&lt;P&gt;The data being returned is encoded in&amp;nbsp;&lt;SPAN&gt;ISO-8859-1.&amp;nbsp; It probably needs to be&amp;nbsp;UTF-8.&amp;nbsp; Also, dumping the contents results in html, not json.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Has anyone solved this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 22:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Python-Qlik-Sense-QRS-API-get-failing-JSONDecodeError-quot/m-p/1893405#M16294</guid>
      <dc:creator>JohnDatEng</dc:creator>
      <dc:date>2022-02-15T22:13:08Z</dc:date>
    </item>
  </channel>
</rss>

