<?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 How to Error Handle for HTTP Timeout (Salesforce) in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/How-to-Error-Handle-for-HTTP-Timeout-Salesforce/m-p/1984312#M879</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Hoping this is the correct forum for this.&lt;/P&gt;
&lt;P&gt;I am running an App refresh overnight which queries our Salesforce system and creates a series of QVD files in our SaaS Qlik Sense environment.&lt;/P&gt;
&lt;P&gt;The issue I am having relates to the "Orders" Table/Object in SF, which will return an HTTP Timeout error and a "Failure" in the refresh history log.&lt;/P&gt;
&lt;P&gt;If run the script manually, it times out first time then runs perfectly on consequent attempts. My approach therefore was to try and use:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;set ErrorMode=0;&lt;/P&gt;
&lt;P&gt;Orders:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;...&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;&amp;nbsp;ScriptError &amp;gt; 0 then&lt;/P&gt;
&lt;P&gt;Orders:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;...&lt;/P&gt;
&lt;P&gt;End If&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the log still records an error and then an exit from script.&lt;/P&gt;
&lt;P&gt;I've also looked at using "Trace" to write to the log in order to try and debug, but get a highlighted syntax error in my script...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Grateful for your ideas.&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 14:33:03 GMT</pubDate>
    <dc:creator>Jim_Ogilvie</dc:creator>
    <dc:date>2022-09-22T14:33:03Z</dc:date>
    <item>
      <title>How to Error Handle for HTTP Timeout (Salesforce)</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/How-to-Error-Handle-for-HTTP-Timeout-Salesforce/m-p/1984312#M879</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Hoping this is the correct forum for this.&lt;/P&gt;
&lt;P&gt;I am running an App refresh overnight which queries our Salesforce system and creates a series of QVD files in our SaaS Qlik Sense environment.&lt;/P&gt;
&lt;P&gt;The issue I am having relates to the "Orders" Table/Object in SF, which will return an HTTP Timeout error and a "Failure" in the refresh history log.&lt;/P&gt;
&lt;P&gt;If run the script manually, it times out first time then runs perfectly on consequent attempts. My approach therefore was to try and use:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;set ErrorMode=0;&lt;/P&gt;
&lt;P&gt;Orders:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;...&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;&amp;nbsp;ScriptError &amp;gt; 0 then&lt;/P&gt;
&lt;P&gt;Orders:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;...&lt;/P&gt;
&lt;P&gt;End If&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the log still records an error and then an exit from script.&lt;/P&gt;
&lt;P&gt;I've also looked at using "Trace" to write to the log in order to try and debug, but get a highlighted syntax error in my script...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Grateful for your ideas.&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 14:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/How-to-Error-Handle-for-HTTP-Timeout-Salesforce/m-p/1984312#M879</guid>
      <dc:creator>Jim_Ogilvie</dc:creator>
      <dc:date>2022-09-22T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Error Handle for HTTP Timeout (Salesforce)</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/How-to-Error-Handle-for-HTTP-Timeout-Salesforce/m-p/2046819#M1463</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/179533"&gt;@Jim_Ogilvie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this question may have ended up in the wrong forum. In this forum we're able to help you with Qlik Application Automation related questions. Are you using this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you may be looking for the Qlik Sense forum: &lt;A href="https://community.qlik.com/t5/Qlik-Sense/ct-p/qlik-sense" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense/ct-p/qlik-sense&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/How-to-Error-Handle-for-HTTP-Timeout-Salesforce/m-p/2046819#M1463</guid>
      <dc:creator>J_Lindberg</dc:creator>
      <dc:date>2023-03-08T13:33:26Z</dc:date>
    </item>
  </channel>
</rss>

