<?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 Re: Load data successful but 0 lines fetched in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43608#M264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Try First keyword prefix to limit the load.&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm&lt;/A&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;First 10 LOAD * from abc.csv;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;First (1) SQL SELECT * from Orders;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2018 03:48:23 GMT</pubDate>
    <dc:creator>nsetty</dc:creator>
    <dc:date>2018-08-31T03:48:23Z</dc:date>
    <item>
      <title>Load data successful but 0 lines fetched</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43606#M262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Qlik sense desktop application where I try to run fairly complicated query against the postgres database which returns few millions of records to do my analysis on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that most of the time when I do data load - progress states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;Started loading data&lt;/P&gt;&lt;P style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;vl &amp;lt;&amp;lt; QueryResult Lines fetched: 0 Creating search index Search index creation completed successfully&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;App saved&lt;/P&gt;&lt;P class="headline summary_headline" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;Finished successfully&lt;/P&gt;&lt;P class="summary" style="padding: 5px 10px; font-size: 11px; color: #595959; font-family: 'Courier New';"&gt;0 forced error(s)&lt;/P&gt;&lt;P class="summary" style="padding: 5px 10px; font-size: 11px; color: #595959; font-family: 'Courier New';"&gt;0 synthetic key(s)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But it shall fetch few millions record. When I press Load data button several times it works at the end (After pressing it for several hours&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Normally it take 20 minutes to fetch the data when it is successful. In case it is not successful it gives me result above in ~35 - 45s from when I press the button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I'm using postgres ODBC connector. I tried to use custom timeout for the query but it did not help anything. Is there any way I could debug why the application is not fetching the data. Since there is no error from the application itself I don't know where to look at.&lt;BR /&gt;I noticed that more data I try to load the lower the probability that it succeeds is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Martin&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43606#M262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-16T15:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Load data successful but 0 lines fetched</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43607#M263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very likely it is the WHERE condition. Check the data type such as Date or special characters.&lt;/P&gt;&lt;P&gt;TOAD/SQL Developer somehow is able to handle when type is different but content is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. WHERE SOME_DATE&amp;gt;SYSDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If SOME_DATE is character but follows date format, may not work in QlikSense but will work in SQL Developer or TOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 01:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43607#M263</guid>
      <dc:creator>calvin_wee</dc:creator>
      <dc:date>2018-08-31T01:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load data successful but 0 lines fetched</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43608#M264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Try First keyword prefix to limit the load.&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm&lt;/A&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;First 10 LOAD * from abc.csv;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;First (1) SQL SELECT * from Orders;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 03:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43608#M264</guid>
      <dc:creator>nsetty</dc:creator>
      <dc:date>2018-08-31T03:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Load data successful but 0 lines fetched</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43609#M265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's better, post your postgres query used in Qlik sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 09:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43609#M265</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-31T09:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load data successful but 0 lines fetched</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43610#M266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/284549"&gt;Getting 0 records while reading data from oracle database&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 09:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43610#M266</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-31T09:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load data successful but 0 lines fetched</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43611#M267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call views into qlik sense like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/50854"&gt;Extracting views from Oracle&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 09:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/43611#M267</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-31T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load data successful but 0 lines fetched</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/2478166#M14056</link>
      <description>&lt;P&gt;I also had the same issue. The connection was established and a bearer token was retrieved. But when using this bearer token, 0 lines where fetched.&lt;/P&gt;
&lt;P&gt;It turned out that the bearer token was incorrect. This was due to the fact that the POST connection retrieving the bearer token had an incorrect BODY. In my case I had written "api_key" instead of "apikey". It returned a wrong access token.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IncorrectToken.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171012i28D8C22F65AC9DCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IncorrectToken.png" alt="IncorrectToken.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My connection which worked was:&lt;/P&gt;
&lt;P&gt;FROM JSON (wrap off) "report"&lt;BR /&gt;WITH CONNECTION (&lt;BR /&gt;HTTPHEADER "Content-Type" "application/json",&lt;BR /&gt;HTTPHEADER "Authorization" "Bearer $(vAccessTokenValue)",&lt;BR /&gt;URL "$(vBaseURL)FlexReport/Get", &lt;BR /&gt;BODY "$(vRequestBodyfacturen)"&lt;BR /&gt;)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AND my 'vRequestBodyfacturen' variable was&lt;/P&gt;
&lt;P&gt;LET vRequestBodyFacturen ='{ "ReportId": 200026 }';&lt;BR /&gt;LET vRequestBodyFacturen = replace(vRequestBodyfacturen,'"', chr(34)&amp;amp;chr(34));&lt;/P&gt;
&lt;P&gt;which changes a double quote in a double double quote.&lt;/P&gt;
&lt;P&gt;Hope this helps someone.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 09:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-successful-but-0-lines-fetched/m-p/2478166#M14056</guid>
      <dc:creator>heij1421</dc:creator>
      <dc:date>2024-08-27T09:55:09Z</dc:date>
    </item>
  </channel>
</rss>

