<?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: tRest_Client Error handling in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234278#M23696</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLsfAAG"&gt;@mbocquet&lt;/A&gt;: Yes you are right. I ended up cleaning up crappy data and that created correct URL for me in the result.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your response.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 03:23:23 GMT</pubDate>
    <dc:creator>Parikhharshal</dc:creator>
    <dc:date>2018-11-09T03:23:23Z</dc:date>
    <item>
      <title>tRest_Client Error handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234273#M23691</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have built the job for Rest API URL and I am using tRest_Client to read off my API url.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, when it cannot find Next URL then it just throws 404 HTTP not found. Is there any way I can handle these errors properly?&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="Screen Shot 2018-11-09 at 10.01.30 am.png" style="width: 776px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M10K.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137457iC19C1E3F9C97793D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M10K.png" alt="0683p000009M10K.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Harshal.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234273#M23691</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2024-11-16T07:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: tRest_Client Error handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234274#M23692</link>
      <description>Feels like you are probably calling an incorrect url in trestclient.
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Is the NEXT url a part of the response? If yes, Could you share how you are parsing the response?
&lt;BR /&gt;
&lt;BR /&gt;Thnx.</description>
      <pubDate>Thu, 08 Nov 2018 23:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234274#M23692</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2018-11-08T23:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: tRest_Client Error handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234275#M23693</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLsfAAG"&gt;@mbocquet&lt;/A&gt;: Thanks for your quick reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Written a java code which keeps moving to next URL until it finds one. And for a test I am just printing that message on the screen.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I cannot digest is for particular course IDs when it cannot find next url then it shows 404 http error for not for all.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 23:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234275#M23693</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2018-11-08T23:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: tRest_Client Error handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234276#M23694</link>
      <description>Tbh, its difficult to figure out what you are trying to achieve... what does the java code do and how is it connected with trestclient</description>
      <pubDate>Fri, 09 Nov 2018 00:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234276#M23694</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2018-11-09T00:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: tRest_Client Error handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234277#M23695</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/00539000006yrG6AAI"&gt;@Parikhharshal&lt;/A&gt;: 
&lt;BR /&gt; 
&lt;BR /&gt;There are two outputs you can get from a tRestClient (Response and Error). You may want to keep checks at both outputs and check for the HTTP status code being returned. If you get a 200, it would mean that the request was successful. If the HTTP status was 404, it means that is the incorrect URL. 
&lt;BR /&gt; 
&lt;BR /&gt;It beats me, why you would need to hit all random urls to fetch the correct NEXT url. A correctly designed rest service would typically send the next url info. 
&lt;BR /&gt; 
&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 09 Nov 2018 01:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234277#M23695</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2018-11-09T01:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: tRest_Client Error handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234278#M23696</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLsfAAG"&gt;@mbocquet&lt;/A&gt;: Yes you are right. I ended up cleaning up crappy data and that created correct URL for me in the result.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your response.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 03:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234278#M23696</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2018-11-09T03:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: tRest_Client Error handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234279#M23697</link>
      <description>&lt;P&gt;@Shicong Hong​&amp;nbsp;, @Xiaodi Shi​&amp;nbsp;, still on this topic: &lt;/P&gt;&lt;P&gt;I'm catching both response and error messages from API request. But what about Java exceptions from the API, like socket timeout exception? Let's say that I got a read time out, which is a java exception, how can I caught this in the job (I know tlogcather does that) and do something after it, let'say: repeat the request or sleep some seconds?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRest-Client-Error-handling/m-p/2234279#M23697</guid>
      <dc:creator>anna_t1</dc:creator>
      <dc:date>2021-04-09T10:00:55Z</dc:date>
    </item>
  </channel>
</rss>

