<?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: tRestClient PUT issue Body in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293591#M66543</link>
    <description>&lt;P&gt;Hi @Enrico Guarato​&amp;nbsp;, so have you try to set the same parameter : body = none in tRestClient ?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 14:07:47 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2022-03-25T14:07:47Z</dc:date>
    <item>
      <title>tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293590#M66542</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i just use and PUT Api call with postman with the parameter body = none and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a job in talend Open Studio for Data Integration (8.0.1.20211109_1610) and the component tRestClient return me this error , even if in the Advanced Settings we Disable chucked  encoding. We tried also to put Content-Length = 0 or = "0" but we get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statusCode	body	string&lt;/P&gt;&lt;P&gt;411|&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""&lt;A href="http://www.w3.org/TR/html4/strict.dtd" target="_blank"&gt;http://www.w3.org/TR/html4/strict.dtd&lt;/A&gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;HTML&amp;gt;&amp;lt;HEAD&amp;gt;&amp;lt;TITLE&amp;gt;Length Required&amp;lt;/TITLE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"&amp;gt;&amp;lt;/HEAD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BODY&amp;gt;&amp;lt;h2&amp;gt;Length Required&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;hr&amp;gt;&amp;lt;p&amp;gt;HTTP Error 411. The request must be chunked or have a content length.&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293590#M66542</guid>
      <dc:creator>EGuarato1648206044</dc:creator>
      <dc:date>2024-11-15T23:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293591#M66543</link>
      <description>&lt;P&gt;Hi @Enrico Guarato​&amp;nbsp;, so have you try to set the same parameter : body = none in tRestClient ?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 14:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293591#M66543</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-25T14:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293592#M66544</link>
      <description>&lt;P&gt;no, because you can't do that.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 15:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293592#M66544</guid>
      <dc:creator>EGuarato1648206044</dc:creator>
      <dc:date>2022-03-25T15:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293593#M66545</link>
      <description>&lt;P&gt;Have you try to use the same header than your postman call ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 06:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293593#M66545</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-28T06:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293594#M66546</link>
      <description>&lt;P&gt;Hi Jeremy. I'm using the exactly same call i made in postman. I used also fiddler to check if there was other hidden parameters. &lt;/P&gt;&lt;P&gt;GET and POST works fine. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 07:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293594#M66546</guid>
      <dc:creator>EGuarato1648206044</dc:creator>
      <dc:date>2022-03-28T07:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293595#M66547</link>
      <description>&lt;P&gt;Could you try to use the tRest component instead of tRestClient component ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 07:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293595#M66547</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-28T07:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293596#M66548</link>
      <description>&lt;P&gt;Hi, I tried it in the first place. &lt;/P&gt;&lt;P&gt;&lt;S&gt;I had to switch to tJavaRow with some issue as well that i solved luckily.&lt;/S&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: &lt;S&gt;still looking for an answer.&lt;/S&gt; There are other post like mine with the same problem more or less unsolved.&lt;/P&gt;&lt;P&gt;EDIT: Reused trest component and it worked. I put more parameter using also the hidden ones on POST-MAN. I inserted a random body that means nothing.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 07:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2293596#M66548</guid>
      <dc:creator>EGuarato1648206044</dc:creator>
      <dc:date>2022-03-28T07:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient PUT issue Body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2544223#M149435</link>
      <description>&lt;P&gt;We were getting these 411 errors for one of our API endpoints as well. Initially we researched potentially sending a content-length header, and while double-checking the format, MDN provided some interesting insight:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;From MDN:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The HTTP&amp;nbsp;&lt;STRONG&gt;&lt;CODE&gt;Content-Length&lt;/CODE&gt;&lt;/STRONG&gt;&amp;nbsp;header indicates the size, in bytes, of the message body sent to the recipient.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;CODE&gt;Content-Length&lt;/CODE&gt;&amp;nbsp;is limited in that the message size must be known up front, before sending the headers, which is a problem when content is dynamically generated or streamed.&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;In HTTP/1.0, it is required.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;In HTTP/1.1, it could be replaced with&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Transfer-Encoding" target="_blank"&gt;&lt;CODE&gt;Transfer-Encoding: chunked&lt;/CODE&gt;&lt;/A&gt;&amp;nbsp;for responses sent out in parts as its size is calculated.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;In HTTP/2,&amp;nbsp;&lt;CODE&gt;Content-Length&lt;/CODE&gt;&amp;nbsp;is redundant, because the content length may be inferred from DATA frames. It may still be included for backwards compatibility.&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Full article:&lt;BR /&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Length" target="_blank"&gt;Content-Length header - HTTP | MDN&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In our case, we were able to go into the Advanced settings of the tRestClient component and enable the 'Force HTTP 1.1' option, then leave the chunked encoding active (i.e. leave the 'Disable Chunked Encoding' unchecked), which seems to have made the tRestClient behave as described in the second bullet point above, and we no longer recieved the 411 error.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 00:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-PUT-issue-Body/m-p/2544223#M149435</guid>
      <dc:creator>mora_s</dc:creator>
      <dc:date>2026-03-05T00:35:49Z</dc:date>
    </item>
  </channel>
</rss>

