<?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: Error using get method in t_rest client after retrieving the token in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217116#M12840</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The issue is solved .The problem was adding the parameters in the tRest.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Nom&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;Value&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"Content-Type"&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"application/xml"&lt;/P&gt;
&lt;P&gt;"Authorization"&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Bearer "+context.token&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I worked to put the above parameters and I succeeded to get my users list.&lt;/P&gt;
&lt;P&gt;You can please leave a comment if you have some questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2020 14:18:53 GMT</pubDate>
    <dc:creator>Manoj_MUTHURAJA</dc:creator>
    <dc:date>2020-03-05T14:18:53Z</dc:date>
    <item>
      <title>Error using get method in t_rest client after retrieving the token</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217114#M12838</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I have an errorcode "401000",when I tried to use get method on the t_rest.I sucessfully retrieved the token on the first,so the next step is get the users list.&lt;/P&gt; 
&lt;P&gt;I have a created a context called token, to save this token for my next step because it will expire every one hour I guess.I saved the token in the context and with using that I tried to get users list on my second step but I didn't succeed .&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t1.PNG" style="width: 712px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9Ah.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135156iD6F89DA51A74EDF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9Ah.png" alt="0683p000009M9Ah.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t2.PNG" style="width: 791px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9BA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142271i1F4D609301452542/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9BA.png" alt="0683p000009M9BA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Thanks for your suggestions,&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217114#M12838</guid>
      <dc:creator>Manoj_MUTHURAJA</dc:creator>
      <dc:date>2024-11-16T03:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error using get method in t_rest client after retrieving the token</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217115#M12839</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;You said you have used context variable to store the token value, but I don't see you use it on tRest_3 component which is calling API to get the user list, you are write it as a fixed string. To use context variable, the format is:&lt;BR /&gt;context.token&lt;BR /&gt;&lt;BR /&gt;To store the token value to a context variable, you can do it on a tJavaRow component in the first step.&lt;BR /&gt;...tJavaRow&lt;BR /&gt;on tJavaRow:&lt;BR /&gt;context.token=input_row.token_value_column_name;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 11:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217115#M12839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-02T11:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error using get method in t_rest client after retrieving the token</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217116#M12840</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The issue is solved .The problem was adding the parameters in the tRest.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Nom&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;Value&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"Content-Type"&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"application/xml"&lt;/P&gt;
&lt;P&gt;"Authorization"&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Bearer "+context.token&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I worked to put the above parameters and I succeeded to get my users list.&lt;/P&gt;
&lt;P&gt;You can please leave a comment if you have some questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 14:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217116#M12840</guid>
      <dc:creator>Manoj_MUTHURAJA</dc:creator>
      <dc:date>2020-03-05T14:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error using get method in t_rest client after retrieving the token</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217117#M12841</link>
      <description>&lt;P&gt;Hi I am working on similar requirement to get the list data from SharePoint in Talend. Can you please explain more on how you generated the token and flow?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 20:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217117#M12841</guid>
      <dc:creator>Knowme</dc:creator>
      <dc:date>2020-11-04T20:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error using get method in t_rest client after retrieving the token</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217118#M12842</link>
      <description>&lt;P&gt;Hi ! I am sorry to reply at this post after this time.&lt;/P&gt;&lt;P&gt;How do you succeed to get the token with your first tREST ? I am stuck at this step and don't find any help with the component tREST (I don't have the tRESTClient)&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 16:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-using-get-method-in-t-rest-client-after-retrieving-the/m-p/2217118#M12842</guid>
      <dc:creator>KMarseau1673625636</dc:creator>
      <dc:date>2023-01-13T16:11:41Z</dc:date>
    </item>
  </channel>
</rss>

