<?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 Upload file to REST API using tFileFetch in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Upload-file-to-REST-API-using-tFileFetch/m-p/2204959#M5622</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to upload a PDF file to a Sitecore Media Library.&lt;/P&gt; 
&lt;P&gt;I managed to do this very easily with Postman. My files get uploaded without any issue.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;After many research in Talend, I've tried to use the component tFileFetch.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;So some reason I can' t explain, I get a HTTP 200 - OK response in the header but in the body I get :&lt;/P&gt; 
&lt;P&gt;{&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;FONT color="#FF0000"&gt;statusCode&lt;/FONT&gt;":&amp;nbsp;400,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;FONT color="#FF0000"&gt;error&lt;/FONT&gt;":&amp;nbsp;{&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;FONT color="#FF0000"&gt;message&lt;/FONT&gt;":&amp;nbsp;"No&amp;nbsp;files&amp;nbsp;are&amp;nbsp;being&amp;nbsp;uploaded"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt; 
&lt;P&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It seems like the component is ignoring the parameters (file) that I am sending.&lt;BR /&gt;Below are some screenshots showing how I've setup the tFileFetch component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="API_sitecore.png" style="width: 885px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZpC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138982iCBED733A522A20AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZpC.png" alt="0683p000009MZpC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="API_sitecore2.png" style="width: 875px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZqs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130353i83FD5AA70177D8F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZqs.png" alt="0683p000009MZqs.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Don't know what I am missing here.&lt;/P&gt; 
&lt;P&gt;Any help you be greatly appreciated.&lt;/P&gt; 
&lt;P&gt;This is critical that I get this working.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:12:56 GMT</pubDate>
    <dc:creator>thalychris</dc:creator>
    <dc:date>2024-11-16T02:12:56Z</dc:date>
    <item>
      <title>Upload file to REST API using tFileFetch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-file-to-REST-API-using-tFileFetch/m-p/2204959#M5622</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to upload a PDF file to a Sitecore Media Library.&lt;/P&gt; 
&lt;P&gt;I managed to do this very easily with Postman. My files get uploaded without any issue.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;After many research in Talend, I've tried to use the component tFileFetch.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;So some reason I can' t explain, I get a HTTP 200 - OK response in the header but in the body I get :&lt;/P&gt; 
&lt;P&gt;{&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;FONT color="#FF0000"&gt;statusCode&lt;/FONT&gt;":&amp;nbsp;400,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;FONT color="#FF0000"&gt;error&lt;/FONT&gt;":&amp;nbsp;{&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;FONT color="#FF0000"&gt;message&lt;/FONT&gt;":&amp;nbsp;"No&amp;nbsp;files&amp;nbsp;are&amp;nbsp;being&amp;nbsp;uploaded"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt; 
&lt;P&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It seems like the component is ignoring the parameters (file) that I am sending.&lt;BR /&gt;Below are some screenshots showing how I've setup the tFileFetch component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="API_sitecore.png" style="width: 885px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZpC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138982iCBED733A522A20AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZpC.png" alt="0683p000009MZpC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="API_sitecore2.png" style="width: 875px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZqs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130353i83FD5AA70177D8F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZqs.png" alt="0683p000009MZqs.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Don't know what I am missing here.&lt;/P&gt; 
&lt;P&gt;Any help you be greatly appreciated.&lt;/P&gt; 
&lt;P&gt;This is critical that I get this working.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-file-to-REST-API-using-tFileFetch/m-p/2204959#M5622</guid>
      <dc:creator>thalychris</dc:creator>
      <dc:date>2024-11-16T02:12:56Z</dc:date>
    </item>
  </channel>
</rss>

