<?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: SalesForce RAW API request: No error response available in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484501#M4858</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/313504"&gt;@Old_Blendr_man&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share more information?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The exact issue you are facing&lt;/LI&gt;
&lt;LI&gt;What is expected behavior and the current behavior&lt;/LI&gt;
&lt;LI&gt;Automation workspace and failed automation run json file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2024 04:44:14 GMT</pubDate>
    <dc:creator>AfeefaTk</dc:creator>
    <dc:date>2024-10-01T04:44:14Z</dc:date>
    <item>
      <title>SalesForce RAW API request: No error response available</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2482283#M4775</link>
      <description>&lt;P&gt;When using the&amp;nbsp;SalesForce RAW API request it works as long as there is valid data and no errors.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately life isn't always what we expected and this means we can run into an error at the API connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Blendr system had several options to retrieve the returned error and do smart things with it. But it looks like Qlick is awaiting the perfect world and doesn't have any options to check for the error and handle it in the automation ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 13:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2482283#M4775</guid>
      <dc:creator>Old_Blendr_man</dc:creator>
      <dc:date>2024-09-18T13:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: SalesForce RAW API request: No error response available</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484501#M4858</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/313504"&gt;@Old_Blendr_man&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share more information?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The exact issue you are facing&lt;/LI&gt;
&lt;LI&gt;What is expected behavior and the current behavior&lt;/LI&gt;
&lt;LI&gt;Automation workspace and failed automation run json file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 04:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484501#M4858</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2024-10-01T04:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: SalesForce RAW API request: No error response available</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484546#M4864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134179"&gt;@AfeefaTk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It basically is valid for every component that is using some kind of API connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below an example of a random error that, in this case, SalesForce produces:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"error": "Error calling endpoint \"Salesforce - Delete Contact\"",&lt;BR /&gt;"endpoint": {&lt;BR /&gt;"name": "Delete Contact",&lt;BR /&gt;"datasource": "Salesforce"&lt;BR /&gt;},&lt;BR /&gt;"request": {&lt;BR /&gt;"url": "https://*****.my.salesforce.com/services/data/v50.0/sobjects/contact/Contact ID",&lt;BR /&gt;"method": "DELETE"&lt;BR /&gt;},&lt;BR /&gt;"response": {&lt;BR /&gt;"body": {&lt;BR /&gt;"code": "CURLE_URL_MALFORMAT",&lt;BR /&gt;"message": "URL rejected: Malformed input to a URL function"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"external error": true&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Qlik detects this error and there are three ways to handle the error:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ignore&lt;/LI&gt;
&lt;LI&gt;Warning&lt;/LI&gt;
&lt;LI&gt;Stop&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In Blendr when you choose &lt;EM&gt;Warning&lt;/EM&gt;&amp;nbsp; you had the option to "grab" the above json and do whatever you wanted to do with it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This gave you the option to get the response.body.code for example and do some clever things like &lt;EM&gt;if&lt;/EM&gt; statements around response.body.code for example.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So our problem is not the error or the error response itself, this is just an example.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 07:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484546#M4864</guid>
      <dc:creator>Old_Blendr_man</dc:creator>
      <dc:date>2024-10-01T07:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: SalesForce RAW API request: No error response available</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484552#M4866</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/313504"&gt;@Old_Blendr_man&lt;/a&gt;&amp;nbsp;I think you can use the error formula to catch the error.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The basic formula looks like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;{ $.state.blockName.error }&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;To return specific error status, use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;{ $.state.blockName.error.response.status }&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;To return the error body, use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;{ $.state.blockName.error.response.body }&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_QlikAutomation/working-with-automations/working-with-errors.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_QlikAutomation/working-with-automations/working-with-errors.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 07:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484552#M4866</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2024-10-01T07:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: SalesForce RAW API request: No error response available</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484555#M4867</link>
      <description>&lt;P&gt;AHA !&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many, many thanks!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Took a few seconds to find the blockname, but after that it worked.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did search for error handling in the wiki, but this subject didn't come up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 07:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/SalesForce-RAW-API-request-No-error-response-available/m-p/2484555#M4867</guid>
      <dc:creator>Old_Blendr_man</dc:creator>
      <dc:date>2024-10-01T07:41:12Z</dc:date>
    </item>
  </channel>
</rss>

