<?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 TREST component in Talend to handle Bad gateway error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414744#M140104</link>
    <description>&lt;P&gt;Hi team&lt;/P&gt;
&lt;P&gt;I am having an input excel file which stores the json structure line by line that needs to be posted via tREST component in Talend.&lt;/P&gt;
&lt;P&gt;I am reading the excel file using tFileInputExcel and using tFlowToIterate to iterate through each row of input excel and using tREST component the JSON structure is posted.&lt;BR /&gt;&lt;BR /&gt;Sometimes, while the above flow is getting executed the job is getting failed with error code as 502. In that case, I need to wait for few secs and then retry posting for the same set of records.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How can this be accomplished in talend.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dhanoop B S&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 09:28:13 GMT</pubDate>
    <dc:creator>DBS1</dc:creator>
    <dc:date>2024-02-05T09:28:13Z</dc:date>
    <item>
      <title>TREST component in Talend to handle Bad gateway error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414744#M140104</link>
      <description>&lt;P&gt;Hi team&lt;/P&gt;
&lt;P&gt;I am having an input excel file which stores the json structure line by line that needs to be posted via tREST component in Talend.&lt;/P&gt;
&lt;P&gt;I am reading the excel file using tFileInputExcel and using tFlowToIterate to iterate through each row of input excel and using tREST component the JSON structure is posted.&lt;BR /&gt;&lt;BR /&gt;Sometimes, while the above flow is getting executed the job is getting failed with error code as 502. In that case, I need to wait for few secs and then retry posting for the same set of records.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How can this be accomplished in talend.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dhanoop B S&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 09:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414744#M140104</guid>
      <dc:creator>DBS1</dc:creator>
      <dc:date>2024-02-05T09:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: TREST component in Talend to handle Bad gateway error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414767#M140105</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;So what you're trying to achieve is to keep those data linked to the 502 error, and then replay them ?&lt;/P&gt;
&lt;P&gt;With tREST you need to filter the value with a textractxml or json (depending the answer you get) and then filter with a tMap.&lt;/P&gt;
&lt;P&gt;If you use tRESTclient you have a "response" and "error" that permits you to filter directly from the tRESTClient&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 09:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414767#M140105</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2024-02-05T09:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: TREST component in Talend to handle Bad gateway error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414772#M140107</link>
      <description>&lt;P&gt;Personally i put the rest calls within a tLoop so you can retry a call a number of times before aborting. This does require quite a bit of extra work as you'll have to parse responses and handle various scenarios.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 10:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414772#M140107</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2024-02-05T10:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: TREST component in Talend to handle Bad gateway error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414864#M140115</link>
      <description>&lt;P&gt;If I am getting 502 error, for the same set of record I need to perform posting again so as to check that the 502 error got resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dhanoop B S&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 12:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414864#M140115</guid>
      <dc:creator>DBS1</dc:creator>
      <dc:date>2024-02-05T12:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: TREST component in Talend to handle Bad gateway error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414866#M140116</link>
      <description>&lt;P&gt;Can you please elaborate on how we can implement using tFlowIterate to iterate through each rows in excel and tloop to perform the looping operation when 502 error occurs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dhanoop B S&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 12:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414866#M140116</guid>
      <dc:creator>DBS1</dc:creator>
      <dc:date>2024-02-05T12:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: TREST component in Talend to handle Bad gateway error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414918#M140118</link>
      <description>&lt;P&gt;Here's an example from a job I'm currently working on, it's essentially the same except i am retrieving data from a database then generating some JSON to use in the body of the REST POST request. I then pass those values to a subjob which is actually doing the API call. In the tLoop i call the REST endpoint then evaluate the response. If it's a success, great, if it's a failure i retry x amount of times and if it still fails then just log an error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 14:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2414918#M140118</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2024-02-05T14:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: TREST component in Talend to handle Bad gateway error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2415118#M140121</link>
      <description>&lt;P&gt;Thanks for your reply. I will check this out and will let you know if there is any issue while implementing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dhanoop B S&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 04:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TREST-component-in-Talend-to-handle-Bad-gateway-error/m-p/2415118#M140121</guid>
      <dc:creator>DBS1</dc:creator>
      <dc:date>2024-02-06T04:10:59Z</dc:date>
    </item>
  </channel>
</rss>

