<?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: http 301 moved permanently error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318232#M88595</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has this question been resolved ?&lt;/P&gt;&lt;P&gt;I have a same issue, and here is what I can say about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Follow redirects" option on the tHTTPClient component seem to forget the "Authorization" header when it builds the new request at the URL provided by the "Location" header.&lt;/P&gt;&lt;P&gt;Indeed, I tried this in Talend API Tester, and it works well there if I run the request with following the redirects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I reproduce the exact same request in a Talend Job with a tHTTPClient, I only get a HTTP 401 Unauthorized response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, When I tick the "Log messages" option, the redirections are not showned in the Studio Console. So I cannot see by where the bounces went, and which headers were sent...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did anyone observed such a behavior ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 10:23:00 GMT</pubDate>
    <dc:creator>NGuittet</dc:creator>
    <dc:date>2023-03-14T10:23:00Z</dc:date>
    <item>
      <title>http 301 moved permanently error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318229#M88592</link>
      <description>&lt;P&gt;I have an error on the following URL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://us19.api.mailchimp.com/export/1.0/list?apikey=sxxxxxx&amp;amp;id=ea772398be&amp;amp;since=2019-05-19" target="_blank" rel="nofollow noopener noreferrer"&gt;https://us19.api.mailchimp.com/export/1.0/list?apikey=sxxxxxx&amp;amp;id=ea772398be&amp;amp;since=2019-05-19&lt;/A&gt; 00:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have x'ed out the apikey.&amp;nbsp; The url works fine in Postman so I know that it is not the URL.&amp;nbsp; I am using a tRestClient.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 20:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318229#M88592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-20T20:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: http 301 moved permanently error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318230#M88593</link>
      <description>&lt;P&gt;Did you try ticking 'Follow redirects' in the tRestClient?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a simple GET without any headers or parameters other than what you show in the query, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could look at the Postman console and details of the request and response in Postman to make sure you are doing the same thing in Talend.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 03:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318230#M88593</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-05-21T03:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: http 301 moved permanently error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318231#M88594</link>
      <description>&lt;P&gt;I tried the redirect.&amp;nbsp; I got a different error.&amp;nbsp; See attachment.&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;Starting job EMS_PGA_AUDIENCE_Tags_Copy at 07:43 21/05/2019.&lt;/P&gt; 
  &lt;P&gt;[statistics] connecting to socket on port 3858&lt;BR /&gt;[statistics] connected&lt;BR /&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;BR /&gt;SLF4J: Found binding in [jar:file:/C:/Talend/Talend-Studio-20181026_1147-V7.1.1/configuration/.m2/repository/org/talend/libraries/slf4j-log4j12-1.7.2/6.0.0/slf4j-log4j12-1.7.2-6.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/C:/Talend/Talend-Studio-20181026_1147-V7.1.1/configuration/.m2/repository/org/talend/libraries/slf4j-log4j12-1.7.5/6.0.0/slf4j-log4j12-1.7.5-6.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See  for an explanation.SLF4J: Actual binding is of t&lt;/P&gt;
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdHI"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdHI"&gt;OriginalPost.pdf&lt;/A&gt;</description>
      <pubDate>Tue, 21 May 2019 15:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318231#M88594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-21T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: http 301 moved permanently error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318232#M88595</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has this question been resolved ?&lt;/P&gt;&lt;P&gt;I have a same issue, and here is what I can say about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Follow redirects" option on the tHTTPClient component seem to forget the "Authorization" header when it builds the new request at the URL provided by the "Location" header.&lt;/P&gt;&lt;P&gt;Indeed, I tried this in Talend API Tester, and it works well there if I run the request with following the redirects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I reproduce the exact same request in a Talend Job with a tHTTPClient, I only get a HTTP 401 Unauthorized response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, When I tick the "Log messages" option, the redirections are not showned in the Studio Console. So I cannot see by where the bounces went, and which headers were sent...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did anyone observed such a behavior ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 10:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318232#M88595</guid>
      <dc:creator>NGuittet</dc:creator>
      <dc:date>2023-03-14T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: http 301 moved permanently error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318233#M88596</link>
      <description>&lt;P&gt;did you find any solution? I have the same issue.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 08:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318233#M88596</guid>
      <dc:creator>WTree</dc:creator>
      <dc:date>2023-11-13T08:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: http 301 moved permanently error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318234#M88597</link>
      <description>&lt;P&gt;Hi WTree,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I understand is that this os somewhat a design behavior, so that a malicious URL inserted in the middle of a series of redirect wouldn't get your credentials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my part, I fixed it by providing the exact final URL to the authentication request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 08:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/http-301-moved-permanently-error/m-p/2318234#M88597</guid>
      <dc:creator>NGuittet</dc:creator>
      <dc:date>2023-11-13T08:35:09Z</dc:date>
    </item>
  </channel>
</rss>

