<?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 Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/2093199#M2166</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>Wed, 12 Jul 2023 15:48:33 GMT</pubDate>
    <dc:creator>skeet5</dc:creator>
    <dc:date>2023-07-12T15:48:33Z</dc:date>
    <item>
      <title>Is it possible to get the token dynamically into a query header?</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/2093199#M2166</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>Wed, 12 Jul 2023 15:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/2093199#M2166</guid>
      <dc:creator>skeet5</dc:creator>
      <dc:date>2023-07-12T15:48:33Z</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/Qlik-Automate/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/2093564#M2186</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/238078"&gt;@skeet5&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look at &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;this documentation&lt;/A&gt; about refreshing the authtoken, hopefully this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Is-it-possible-to-get-the-token-dynamically-into-a-query-header/m-p/2093564#M2186</guid>
      <dc:creator>Josef_Gustafson</dc:creator>
      <dc:date>2023-07-13T13:44:18Z</dc:date>
    </item>
  </channel>
</rss>

