<?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 Is it possible to get the token dynamically into a query header? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/1919928#M1290664</link>
    <description>&lt;P&gt;Hey guys I am having trouble with connecting QlikView with a REST API. the auth token only last 12 hours and I can't change the token manually so I'm have been trying to automatically get a new token every time a execute the script (something a have already done) the token that is given to me is saved as a variable. In the query header, i try adding the variable but once a run a new script trying to extract the information I get an error (401 Unauthorized)&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;authtoken%2de222e39fc8df47e14fb3f86eafa4592% is the currant token&lt;/P&gt;
&lt;P&gt;authtoken%=(Vtoken)%&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>kyojim</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Is it possible to get the token dynamically into a query header?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/1919928#M1290664</link>
      <description>&lt;P&gt;Hey guys I am having trouble with connecting QlikView with a REST API. the auth token only last 12 hours and I can't change the token manually so I'm have been trying to automatically get a new token every time a execute the script (something a have already done) the token that is given to me is saved as a variable. In the query header, i try adding the variable but once a run a new script trying to extract the information I get an error (401 Unauthorized)&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;authtoken%2de222e39fc8df47e14fb3f86eafa4592% is the currant token&lt;/P&gt;
&lt;P&gt;authtoken%=(Vtoken)%&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/1919928#M1290664</guid>
      <dc:creator>kyojim</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get the token dynamically into a query header?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/1920235#M1290666</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/175608"&gt;@kyojim&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The document in this post might help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents/Handling-Refresh-Tokens-with-the-Qlik-REST-Connector/ta-p/1492836" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Documents/Handling-Refresh-Tokens-with-the-Qlik-REST-Connector/ta-p/1492836&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 07:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/1920235#M1290666</guid>
      <dc:creator>Maria_Halley</dc:creator>
      <dc:date>2022-04-20T07:23:23Z</dc:date>
    </item>
  </channel>
</rss>

