<?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: Why tFetchFile return HTTP error 403 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352003#M118451</link>
    <description>&lt;P&gt;Thanks Ceterenzi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good idea to catch the variable names for user and password using Fiddler! I've downloaded it, I've retrived the variable names and I've added them into tFileFetch's parameter values, but I still obtain the error 403...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;There&amp;nbsp;stored cookie contains ("???" for Anonymous) :&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;optimizelyEndUserId=????????????.???????????????&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;optimizelySegments=%7B%22198340375%22%3A%22direct%22%2C%22198416283%22%3A%22none%22%2C%22198418477%22%3A%22edge%22%2C%22198472144%22%3A%22false%22%7D&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;optimizelyBuckets=%7B%7D&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;EmeaADPLangLocaleCookie=fr-FR&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;SMCHALLENGE=YES&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;&lt;EM&gt;For more information:&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;I&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt; can download a file using this script CURL ("???", user and pwd for Anonymous data) :&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Curl --INSECURE --Location -v -f -s --show-error --stderr "D:\Log\curl.log" -b "SMCHALLENGE=YES" –U "My_Login:My_password" –x "192.???.?.?:8080 " -u "user1:user1pwd" -o "D:\Recu\test.txt" "&lt;A href="https://www.???.com/dock/test.txt" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.???.com/dock/test.txt&lt;/A&gt;"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;When I connect correctly with IE, authorization informations catched using Fiddler are ("???", user and pwd for Anonymous data):&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="simsun,hei"&gt;No Proxy-Authorization Header is present.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="simsun,hei"&gt;Authorization Header is present: Basic ??????????????????????&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="simsun,hei"&gt;Decoded Username : Password= user1 : user1pwd&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;Something interesting&lt;/STRONG&gt;: when I add a header having name "Authorization", &lt;SPAN&gt;the warning message disappears! But there is still the error 403 ("Authorization" value&amp;nbsp;is "Basic user1:user1pwd")&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2017 16:49:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-04T16:49:01Z</dc:date>
    <item>
      <title>Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352000#M118448</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking to download a file from a platform at HTTPS URL. The access requiere authentification. I'm using tFileFetch, but I have systematically HTTP ERROR 403. However I'm sure my login and password are correct because I use them to connect to the web site Https.&lt;/P&gt;&lt;P&gt;Here are screenshots.&lt;/P&gt;&lt;P&gt;I have also the Error 403 using tHttpRequest.&lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 09:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352000#M118448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T09:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352001#M118449</link>
      <description>&lt;P&gt;HTTP error 403 is an authentication error, so the authentication isn't working right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the few jobs I run with tFileFetch requiring authentication, I first point at a login URL and provide credentials, saving the resulting cookie.&amp;nbsp; Then I run a second tFileFetch that references the stored cookie in order to retrieve my file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also found I was not able to use the authentication fields in Advanced settings.&amp;nbsp; Instead I had to check POST Method under basic settings and add "user_id" and "password" variables and values to the Parameters box that appears.&amp;nbsp; To learn the exact variable names needed, I had to use a tool like Fiddler to watch the raw messages being exchanged during a manual retrieval with a web browser.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 15:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352001#M118449</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-11-30T15:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352002#M118450</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please see this link for the error code you are getting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.restapitutorial.com/httpstatuscodes.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.restapitutorial.com/httpstatuscodes.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 15:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352002#M118450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T15:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352003#M118451</link>
      <description>&lt;P&gt;Thanks Ceterenzi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good idea to catch the variable names for user and password using Fiddler! I've downloaded it, I've retrived the variable names and I've added them into tFileFetch's parameter values, but I still obtain the error 403...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;There&amp;nbsp;stored cookie contains ("???" for Anonymous) :&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;optimizelyEndUserId=????????????.???????????????&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;optimizelySegments=%7B%22198340375%22%3A%22direct%22%2C%22198416283%22%3A%22none%22%2C%22198418477%22%3A%22edge%22%2C%22198472144%22%3A%22false%22%7D&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;optimizelyBuckets=%7B%7D&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;EmeaADPLangLocaleCookie=fr-FR&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;SMCHALLENGE=YES&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;&lt;EM&gt;For more information:&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;I&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt; can download a file using this script CURL ("???", user and pwd for Anonymous data) :&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Curl --INSECURE --Location -v -f -s --show-error --stderr "D:\Log\curl.log" -b "SMCHALLENGE=YES" –U "My_Login:My_password" –x "192.???.?.?:8080 " -u "user1:user1pwd" -o "D:\Recu\test.txt" "&lt;A href="https://www.???.com/dock/test.txt" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.???.com/dock/test.txt&lt;/A&gt;"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;When I connect correctly with IE, authorization informations catched using Fiddler are ("???", user and pwd for Anonymous data):&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="simsun,hei"&gt;No Proxy-Authorization Header is present.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="simsun,hei"&gt;Authorization Header is present: Basic ??????????????????????&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="simsun,hei"&gt;Decoded Username : Password= user1 : user1pwd&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;Something interesting&lt;/STRONG&gt;: when I add a header having name "Authorization", &lt;SPAN&gt;the warning message disappears! But there is still the error 403 ("Authorization" value&amp;nbsp;is "Basic user1:user1pwd")&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 16:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352003#M118451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-04T16:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352004#M118452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion ? Maybe some parameters are missing (realm, scheme name, keep-alive, content-type...) ?&lt;/P&gt;
&lt;P&gt;I'm still trying all I can without success&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 09:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352004#M118452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T09:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352005#M118453</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a similar issue. The tfileFetch component only returns the header and not the response body. The response body is what consists of the cause for the error you are getting.&lt;/P&gt;&lt;P&gt;Try using the component from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://exchange.talend.com/#marketplaceproductoverview:marketplace=marketplace%252F1&amp;amp;p=marketplace%252F1%252Fproducts%252F1592&amp;amp;pi=marketplace%252F1%252Fproducts%252F1592%252Fitems%252F2743" target="_blank" rel="nofollow noopener noreferrer"&gt;https://exchange.talend.com/#marketplaceproductoverview:marketplace=marketplace%252F1&amp;amp;p=marketplace%252F1%252Fproducts%252F1592&amp;amp;pi=marketplace%252F1%252Fproducts%252F1592%252Fitems%252F2743&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 10:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352005#M118453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T10:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352006#M118454</link>
      <description>&lt;P&gt;Thanks for the information sindu_, but I've tried&amp;nbsp;tUploadFileReturnResponseBody and I'm getting the standard response body for a HTTP 403 error...&lt;/P&gt;&lt;PRE&gt;&amp;lt;title&amp;gt;Error&amp;lt;/title&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&amp;gt;
&amp;lt;meta http-equiv="Pragma" content="no-cache"&amp;gt;
&amp;lt;meta http-equiv="Expires" content="-1"&amp;gt;

&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;

&amp;lt;hr&amp;gt;
&amp;lt;h1&amp;gt;&amp;lt;strong&amp;gt;An error has occurred&amp;lt;/strong&amp;gt;&amp;lt;/h1&amp;gt;
&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Please contact your service manager.&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&lt;/PRE&gt;&lt;P&gt;I'm still stuck...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 17:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352006#M118454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-12T17:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352007#M118455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the solution: I've added the header parameter Cookie: "SMCHALLENGE=YES".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Happy new year&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 11:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352007#M118455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-08T11:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352008#M118456</link>
      <description>&lt;P&gt;Hi josswind,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Can you provide a screenshot of the Component view for tFileFetch, I've been trying to add the "SMCHALLENGE=YES" parameter but not sure if this is for headers or parameters?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;synfield.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 04:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352008#M118456</guid>
      <dc:creator>synfield</dc:creator>
      <dc:date>2019-10-01T04:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why tFetchFile return HTTP error 403</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352009#M118457</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide a screenshot of the Component view for tFileFetch, I've been trying to add the "SMCHALLENGE=YES" parameter but not sure if this is for headers or parameters?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 07:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Why-tFetchFile-return-HTTP-error-403/m-p/2352009#M118457</guid>
      <dc:creator>MDrouillard1683707297</dc:creator>
      <dc:date>2023-07-25T07:54:25Z</dc:date>
    </item>
  </channel>
</rss>

