<?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: Response SQL errors in ESB API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507920#M141818</link>
    <description>&lt;P&gt;It doesn't work with the setting either. For whatever reason, it continues with the row settings even though an error occurs. What would exception handling look like for routes?&lt;/P&gt;
&lt;P&gt;Greetings&lt;/P&gt;</description>
    <pubDate>Sat, 01 Mar 2025 21:46:19 GMT</pubDate>
    <dc:creator>patrickkahle</dc:creator>
    <dc:date>2025-03-01T21:46:19Z</dc:date>
    <item>
      <title>Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503268#M141735</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i created a Rest-Call for adding data into a database.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickkahle_0-1738063370795.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176944i76D5376C0E1B854D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickkahle_0-1738063370795.png" alt="patrickkahle_0-1738063370795.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My problem is that I don't realize when the SQL command encounters an error. This can be, for example, when fields are missing. In this case, I still send back a 200. How can I send the SQL error as a response body and a corresponding status code?&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 11:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503268#M141735</guid>
      <dc:creator>patrickkahle</dc:creator>
      <dc:date>2025-01-28T11:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503334#M141737</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/4234"&gt;@patrickkahle&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your web services add this and you can also check the die on error in your tDBOutput.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1738075538677.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176970iF51332535650F0A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1738075538677.png" alt="Dave_Simo_0-1738075538677.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example during a ko connection the web service will see this again :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_1-1738075684912.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176971i7170A213F6D025A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_1-1738075684912.png" alt="Dave_Simo_1-1738075684912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 14:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503334#M141737</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-01-28T14:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503415#M141738</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/274551"&gt;@Dave_Simo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;actually, thats not working for me.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickkahle_0-1738127387229.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176995i04C773B50601B9E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickkahle_0-1738127387229.png" alt="patrickkahle_0-1738127387229.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that the log catcher is not triggered. When I send a request with postman, I get a 200 back in response to my request.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickkahle_1-1738127528843.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176996i4F46AAFE79638E8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickkahle_1-1738127528843.png" alt="patrickkahle_1-1738127528843.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in Talend i get an error&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickkahle_2-1738127574436.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176997i47AF79EF270F14E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickkahle_2-1738127574436.png" alt="patrickkahle_2-1738127574436.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 05:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503415#M141738</guid>
      <dc:creator>patrickkahle</dc:creator>
      <dc:date>2025-01-29T05:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503459#M141739</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/4234"&gt;@patrickkahle&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Strange, did you check die on error in the tDBOutput component ?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1738139563920.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177009iA46C6A4917C3B347/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1738139563920.png" alt="Dave_Simo_0-1738139563920.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 08:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2503459#M141739</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-01-29T08:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507898#M141815</link>
      <description>&lt;P&gt;hey &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/274551"&gt;@Dave_Simo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;even with this checked checkbox, i can't get an error as response&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickkahle_0-1740820151994.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178024i0997BEB895A4ACD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickkahle_0-1740820151994.png" alt="patrickkahle_0-1740820151994.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickkahle_1-1740820176545.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178025i2C0C56F3CF4789D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickkahle_1-1740820176545.png" alt="patrickkahle_1-1740820176545.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 09:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507898#M141815</guid>
      <dc:creator>patrickkahle</dc:creator>
      <dc:date>2025-03-01T09:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507915#M141817</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/4234"&gt;@patrickkahle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hmm weird you configured your tRESTResponse like below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1740847314234.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178031iD44CD30589A4374D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1740847314234.png" alt="Dave_Simo_0-1740847314234.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 16:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507915#M141817</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-03-01T16:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507920#M141818</link>
      <description>&lt;P&gt;It doesn't work with the setting either. For whatever reason, it continues with the row settings even though an error occurs. What would exception handling look like for routes?&lt;/P&gt;
&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 21:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507920#M141818</guid>
      <dc:creator>patrickkahle</dc:creator>
      <dc:date>2025-03-01T21:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Response SQL errors in ESB API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507938#M141819</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/4234"&gt;@patrickkahle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For routes you can use the cErrorHandler and cOneException components to catch errors on your web services.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/talend/fr-FR/mediation-components/8.0/mediation-logs-and-errors/cerrorhandler" target="_blank"&gt;https://help.qlik.com/talend/fr-FR/mediation-components/8.0/mediation-logs-and-errors/cerrorhandler&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Otherwise for your web services developed with tRESTRequest, I think you need to make a small modification to the design of your job as below to catch the exception during the error in tDBOUput.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1740923795020.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178036i668670DDE430FBA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1740923795020.png" alt="Dave_Simo_0-1740923795020.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 13:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Response-SQL-errors-in-ESB-API/m-p/2507938#M141819</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-03-02T13:56:48Z</dc:date>
    </item>
  </channel>
</rss>

