<?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: nextToken implementation in a URL in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017945#M17801</link>
    <description>&lt;P&gt;Hello Silviya,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the documentation for the endpoint, it looks like you want to leave the script you have aside and leverage the approach here as your starting point. You'll need to ensure the 'append missing parameters' option is enabled when setting up the connection:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create-REST-connection/Loading-paged-data.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create-REST-connection/Loading-paged-data.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The nextToken option in the REST connectors will allow you to look into the data right out of the box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you would use for your 'Next token path' would be something like this: 'root/paging/nextToken'&lt;/P&gt;&lt;P&gt;The 'path options give you this ability.&lt;/P&gt;&lt;P&gt;You have two root elements for a successful response (screenshot from their site):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96463iE1DE6C8A417C36D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 12:10:11 GMT</pubDate>
    <dc:creator>SteveAO</dc:creator>
    <dc:date>2022-12-19T12:10:11Z</dc:date>
    <item>
      <title>nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2015795#M17750</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am trying to do an API call to a source that returns JSON. The call is successful and I can get to the data, the issue is the pagination. There is a limit of 100 rows per page and the system is using currentToken and nextToken pagination. I have done a custom pagination and this is how my script looks:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="default s-code-block"&gt;&lt;CODE class="hljs language-sql"&gt;LIB &lt;SPAN class="hljs-keyword"&gt;CONNECT&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;'REST_CALL'&lt;/SPAN&gt;;

&lt;SPAN class="hljs-operator"&gt;/&lt;/SPAN&gt;&lt;SPAN class="hljs-operator"&gt;/&lt;/SPAN&gt; Action required: Implement the logic &lt;SPAN class="hljs-keyword"&gt;to&lt;/SPAN&gt; retrieve the total records &lt;SPAN class="hljs-keyword"&gt;from&lt;/SPAN&gt; the REST source &lt;SPAN class="hljs-keyword"&gt;and&lt;/SPAN&gt; assign &lt;SPAN class="hljs-keyword"&gt;to&lt;/SPAN&gt; the &lt;SPAN class="hljs-string"&gt;'total'&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;local&lt;/SPAN&gt; variable.
Let total &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;;

Let totalfetched &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;;
Let startAt &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;;
Let pageSize &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;100&lt;/SPAN&gt;;

&lt;SPAN class="hljs-keyword"&gt;for&lt;/SPAN&gt; startAt &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;to&lt;/SPAN&gt; total step pageSize
RestConnectorMasterTable:
&lt;SPAN class="hljs-keyword"&gt;SQL&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
    "__KEY_root",
    (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
        "limit",
        "totalCount",
        "nextToken",
        "currentToken",
        "__KEY_paging",
        "__FK_paging",
        (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
            "__KEY__links",
            "__FK__links",
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "href",
                "__FK_next"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "next" FK "__FK_next"),
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "href" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "href_u0",
                "__FK_self"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "self" FK "__FK_self")
        &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "_links" PK "__KEY__links" FK "__FK__links")
    &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "paging" PK "__KEY_paging" FK "__FK_paging"),
    (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
        "id" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "id_u0",
        "title",
        "code",
        "description",
        "start",
        "end",
        "closeAfter",
        "archiveAfter",
        "launchAfter",
        "timezone",
        "defaultLocale",
        "currency",
        "registrationSecurityLevel",
        "status",
        "eventStatus",
        "testMode",
        "created",
        "lastModified",
        "virtual",
        "format",
        "type" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "type_u0",
        "capacity",
        "__KEY_data",
        "__FK_data",
        (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
            "name",
            "__KEY_venues",
            "__FK_venues",
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "city",
                "country",
                "countryCode",
                "latitude",
                "longitude",
                "address1",
                "region",
                "regionCode",
                "postalCode",
                "__FK_address"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "address" FK "__FK_address")
        &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "venues" PK "__KEY_venues" FK "__FK_venues"),
        (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
            "firstName",
            "lastName",
            "email",
            "prefix",
            "__FK_planners"
        &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "planners" FK "__FK_planners"),
        (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
            "id",
            "name" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "name_u0",
            "type",
            "order",
            "__KEY_customFields",
            "__FK_customFields",
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "@Value",
                "__FK_value"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "value" FK "__FK_value" ArrayValueAlias "@Value")
        &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "customFields" PK "__KEY_customFields" FK "__FK_customFields"),
        (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
            "name" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "name_u1",
            "__FK_category"
        &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "category" FK "__FK_category"),
        (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
            "__KEY__links_u0",
            "__FK__links_u0",
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "href" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "href_u1",
                "__FK_invitation"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "invitation" FK "__FK_invitation"),
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "href" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "href_u2",
                "__FK_agenda"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "agenda" FK "__FK_agenda"),
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "href" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "href_u3",
                "__FK_summary"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "summary" FK "__FK_summary"),
            (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
                "href" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "href_u4",
                "__FK_registration"
            &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "registration" FK "__FK_registration")
        &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "_links" PK "__KEY__links_u0" FK "__FK__links_u0"),
        (&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; 
            "@Value" &lt;SPAN class="hljs-keyword"&gt;AS&lt;/SPAN&gt; "@Value_u0",
            "__FK_languages"
        &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "languages" FK "__FK_languages" ArrayValueAlias "@Value_u0")
    &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; "data" PK "__KEY_data" FK "__FK_data")
&lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; JSON (wrap &lt;SPAN class="hljs-keyword"&gt;on&lt;/SPAN&gt;) "root" PK "__KEY_root"
&lt;SPAN class="hljs-keyword"&gt;WITH&lt;/SPAN&gt; CONNECTION(
QUERY "startAt" "$(startAt)",
URL "https://api-platform.sample.com/sample/sample",
QUERY "filter" "sample.id eq '123456789'",
HTTPHEADER "Authorization" "Bearer $(vToken)"
);

NEXT startAt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Can anybody help me understand how to implement the nextToken in the URL so I can paginate through all records? I read all documentation related to this, but it only explains what nextToken means, it doesn't give any examples on how to actually implement this in the script.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 08:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2015795#M17750</guid>
      <dc:creator>SilviyaK</dc:creator>
      <dc:date>2022-12-13T08:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2016114#M17756</link>
      <description>&lt;P&gt;Hello, &amp;nbsp;Silviya. I hope all is well. This question can be very specific to the API you intend to retrieve data from. Do you happen to have an OpenAPI spec for this endpoint? (&lt;A href="https://editor.swagger.io/" target="_blank" rel="noopener"&gt;https://editor.swagger.io/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, you'll need to increment the values used in the tokens you introduce at the top of your loop.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can use the Rest connector pagination option and override, where needed, to append your intended pagination scheme. See this article for reference:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/GETTING-DATA-FROM-GITLAB-REST-API/m-p/2014204#M17722" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Integration-Extension-APIs/GETTING-DATA-FROM-GITLAB-REST-API/m-p/2014204#M17722&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 17:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2016114#M17756</guid>
      <dc:creator>SteveAO</dc:creator>
      <dc:date>2022-12-13T17:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017178#M17777</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;Thanks a lot for your response!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure I understand what you mean that I have to do though. Do you happen to have an example of how to do what you described? I have a currentToken and a nextToken field in my data. As the platform I am trying to get the data from (Cvent) has a limit of 100 records per page, I need to somehow use these two fields to go through all pages of data and get all lines I need.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 17:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017178#M17777</guid>
      <dc:creator>SilviyaK</dc:creator>
      <dc:date>2022-12-15T17:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017584#M17788</link>
      <description>&lt;P&gt;Hello SilviyaK.&lt;/P&gt;&lt;P&gt;Not a problem. I hope all is well. Without a standards-based doc describing your endpoint, we will step through your example as written. If your loop is working OK at this point, your loop has these initiation parameters:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// Action required: Implement the logic to retrieve the total records from the REST source and assign to the 'total' local variable.
Let total = 0;

Let totalfetched = 0;
Let startAt = 0;
Let pageSize = 100;

for startAt = 0 to total step pageSize&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this page on this if you're unsure of the syntax:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptControlStatements/For.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptControlStatements/For.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Going back to your question, you would need to &lt;EM&gt;Peek&lt;/EM&gt; at your &lt;EM&gt;total, &lt;/EM&gt;and, given&amp;nbsp;your example, your loop is already set to iterate with 100 records per iteration. The following example would fall before your &lt;EM&gt;next startAt&lt;/EM&gt;:&lt;/P&gt;&lt;PRE&gt;// Action required: Implement the logic to retrieve the total records from the REST source and assign to the 'total' local variable.&lt;BR /&gt;Let total = 0;&lt;BR /&gt;&lt;BR /&gt;Let totalfetched = 0;&lt;BR /&gt;Let startAt = 0;&lt;BR /&gt;Let pageSize = 100;&lt;BR /&gt;&lt;BR /&gt;for startAt = 0 to total step pageSize&lt;BR /&gt;...&lt;BR /&gt;let &lt;STRONG&gt;total&lt;/STRONG&gt; = Peek('nextToken',0,'RestConnectorMasterTable');&lt;BR /&gt;...&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;next startAt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 22:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017584#M17788</guid>
      <dc:creator>SteveAO</dc:creator>
      <dc:date>2022-12-16T22:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017899#M17800</link>
      <description>&lt;P&gt;Hi Steve,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still fetches only the first 100 rows. The endpoints is cvent. This is a link to the documentation -&amp;nbsp;&lt;A href="https://developer-portal-sandbox.cvent.com/documentation" target="_blank"&gt;https://developer-portal-sandbox.cvent.com/documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 11:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017899#M17800</guid>
      <dc:creator>SilviyaK</dc:creator>
      <dc:date>2022-12-19T11:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017945#M17801</link>
      <description>&lt;P&gt;Hello Silviya,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the documentation for the endpoint, it looks like you want to leave the script you have aside and leverage the approach here as your starting point. You'll need to ensure the 'append missing parameters' option is enabled when setting up the connection:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create-REST-connection/Loading-paged-data.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create-REST-connection/Loading-paged-data.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The nextToken option in the REST connectors will allow you to look into the data right out of the box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you would use for your 'Next token path' would be something like this: 'root/paging/nextToken'&lt;/P&gt;&lt;P&gt;The 'path options give you this ability.&lt;/P&gt;&lt;P&gt;You have two root elements for a successful response (screenshot from their site):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96463iE1DE6C8A417C36D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 12:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2017945#M17801</guid>
      <dc:creator>SteveAO</dc:creator>
      <dc:date>2022-12-19T12:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2018097#M17805</link>
      <description>&lt;P&gt;Hi Steve,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find attached a screenshot of how my connection is currently set up (screenshots 1,2 and 3) and successful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Afterwards, I selected a couple of fields from the data (id, first name and email) so I can make a test (screenshot 4 of my script). Then I did two tests with two different event IDs for which I know the row count. One of them has 16 rows and was loaded successfully within 5 seconds. The second ID has 960 rows and what happens when I ran the load with that event ID is that Qlik started to load unrealistically high amount of lines (it got to 1 270 980) and eventually my access token which is valid for one hour expired and I got an error then the data load stopped. The error is that I am unauthorized and it is because of the access token, but in any case, I do not think that the more than a million lines is even correct to begin with. It seems that when the lines are more than the 100 limit, something goes wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas why this might be happening and how to make it work?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2018097#M17805</guid>
      <dc:creator>SilviyaK</dc:creator>
      <dc:date>2022-12-19T15:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: nextToken implementation in a URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2018104#M17806</link>
      <description>&lt;P&gt;Additionally, I tried to play around with the 'Pass via header' and 'Look in header', but it didn't work again. If both are ticked I get the first 100 rows. If only 'Look in header' is ticked - I get the first 100 rows and if only 'Pass via header' is ticked - I again get the too many lines and crashing of my script after about an hour.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/nextToken-implementation-in-a-URL/m-p/2018104#M17806</guid>
      <dc:creator>SilviyaK</dc:creator>
      <dc:date>2022-12-19T15:42:21Z</dc:date>
    </item>
  </channel>
</rss>

