<?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 tRESTClient throwing 409 Exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-throwing-409-Exception/m-p/2312668#M83598</link>
    <description>&lt;P&gt;My tRESTClient is throwing a 409 exception error. My design is like tmap --&amp;gt; twritejsonfield --&amp;gt; trestclient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AbN8TAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128772i172774EA940C444E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AbN8TAAV.png" alt="0693p00000AbN8TAAV.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's a call post tRestClient using twriteJsonField. Schema inside trestclient looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AbN8dAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152740i3A06C49665311F8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AbN8dAAF.png" alt="0693p00000AbN8dAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Request body looks like : &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  "ids": [&lt;/P&gt;&lt;P&gt;    "uuid1", "uuid2"...&lt;/P&gt;&lt;P&gt;  ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request Method: Post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But As I run the job Im getting an below exception on trestclient component as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AbN8iAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148063i83920A293DA498A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AbN8iAAF.png" alt="0693p00000AbN8iAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am I missing something? Kindly let me know how can I overcome this error. Below is the trestclient config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Dec 2020 18:34:35 GMT</pubDate>
    <dc:creator>spremkumar</dc:creator>
    <dc:date>2020-12-13T18:34:35Z</dc:date>
    <item>
      <title>tRESTClient throwing 409 Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-throwing-409-Exception/m-p/2312668#M83598</link>
      <description>&lt;P&gt;My tRESTClient is throwing a 409 exception error. My design is like tmap --&amp;gt; twritejsonfield --&amp;gt; trestclient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AbN8TAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128772i172774EA940C444E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AbN8TAAV.png" alt="0693p00000AbN8TAAV.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's a call post tRestClient using twriteJsonField. Schema inside trestclient looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AbN8dAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152740i3A06C49665311F8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AbN8dAAF.png" alt="0693p00000AbN8dAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Request body looks like : &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  "ids": [&lt;/P&gt;&lt;P&gt;    "uuid1", "uuid2"...&lt;/P&gt;&lt;P&gt;  ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request Method: Post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But As I run the job Im getting an below exception on trestclient component as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AbN8iAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148063i83920A293DA498A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AbN8iAAF.png" alt="0693p00000AbN8iAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am I missing something? Kindly let me know how can I overcome this error. Below is the trestclient config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 18:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-throwing-409-Exception/m-p/2312668#M83598</guid>
      <dc:creator>spremkumar</dc:creator>
      <dc:date>2020-12-13T18:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient throwing 409 Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-throwing-409-Exception/m-p/2312669#M83599</link>
      <description>&lt;P&gt;Can you confirm if you are able to post the same data via another tool like postman or curl and see if the output is as expected? If not, definitely some issue with the server/ input data being sent.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 15:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-throwing-409-Exception/m-p/2312669#M83599</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2020-12-14T15:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient throwing 409 Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-throwing-409-Exception/m-p/2312670#M83600</link>
      <description>&lt;P&gt;Actually, it worked. There was a problem in the format of the request body that was being sent to the trestclient. The twriteJson component creates  xml tree&lt;/P&gt;&lt;P&gt;in format  like &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  "ids": [&lt;/P&gt;&lt;P&gt;    "uuid1",&lt;/P&gt;&lt;P&gt;"uuid2"&lt;/P&gt;&lt;P&gt;  ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I was using some other format which threw me the above exception&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 00:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-throwing-409-Exception/m-p/2312670#M83600</guid>
      <dc:creator>spremkumar</dc:creator>
      <dc:date>2020-12-16T00:06:06Z</dc:date>
    </item>
  </channel>
</rss>

