<?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 multipart file using tRest in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Upload-multipart-file-using-tRest/m-p/2292099#M65212</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Not able to upload file using tRest component. i have 2 key parameters (file and one is request(json data))&lt;/P&gt;&lt;P&gt;but getting error :&lt;/P&gt;&lt;P&gt;&amp;lt;/pre&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Root Cause&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException: the request doesn&amp;amp;#39;t contain a multipart&amp;amp;#47;form-data or multipart&amp;amp;#47;mixed stream, content type header is application&amp;amp;#47;octet-stream&lt;/P&gt;&lt;P&gt;I was able to upload file using tFileFetch but this component does not give response in case of 400 status (Bad Request). In error scenario also i want to capture response coming from API(json data).&lt;/P&gt;&lt;P&gt;Is there any way to get Response of HTTP 400 Bad Request in tFileFetch component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used tRestClient: this component also not supporting multipart upload.&lt;/P&gt;&lt;P&gt;Please suggest solution.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:28:17 GMT</pubDate>
    <dc:creator>Minal1</dc:creator>
    <dc:date>2024-11-16T01:28:17Z</dc:date>
    <item>
      <title>Upload multipart file using tRest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-multipart-file-using-tRest/m-p/2292099#M65212</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Not able to upload file using tRest component. i have 2 key parameters (file and one is request(json data))&lt;/P&gt;&lt;P&gt;but getting error :&lt;/P&gt;&lt;P&gt;&amp;lt;/pre&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Root Cause&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException: the request doesn&amp;amp;#39;t contain a multipart&amp;amp;#47;form-data or multipart&amp;amp;#47;mixed stream, content type header is application&amp;amp;#47;octet-stream&lt;/P&gt;&lt;P&gt;I was able to upload file using tFileFetch but this component does not give response in case of 400 status (Bad Request). In error scenario also i want to capture response coming from API(json data).&lt;/P&gt;&lt;P&gt;Is there any way to get Response of HTTP 400 Bad Request in tFileFetch component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used tRestClient: this component also not supporting multipart upload.&lt;/P&gt;&lt;P&gt;Please suggest solution.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-multipart-file-using-tRest/m-p/2292099#M65212</guid>
      <dc:creator>Minal1</dc:creator>
      <dc:date>2024-11-16T01:28:17Z</dc:date>
    </item>
  </channel>
</rss>

