<?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: Single API - random ErrorCode.-2 in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1857339#M15862</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47074"&gt;@rbartley&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you have a copy of the app, a basic sample mashup&amp;nbsp;and steps to reproduce the best path to follow will be to create a case.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;By any chance have you raised a case before? If not I can help to create a case but we will need the items mentioned above.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Kind Regards.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 19:41:06 GMT</pubDate>
    <dc:creator>NadiaB</dc:creator>
    <dc:date>2021-11-09T19:41:06Z</dc:date>
    <item>
      <title>Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1850601#M15768</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I have seen a number of posts relating to ErrorCode.-2, but I could not find one that matches my case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a mashup page that uses the Single API to show around 20 visualizations.&amp;nbsp; Sometimes they will all load fine the first time I load the page, other times I get one or several ErrorCode.-2 messages but where the chart appears perfectly behind the message (see below).&amp;nbsp; However, the next time I refresh the page, the visualization that had the ErrorCode.-2 will be fine, but another vis will show the same error (or on other occasions there are no errors at all).&amp;nbsp; This leads me to conclude that this has nothing to do with the visualizations or the app, but is due to some internal Qlik bug, perhaps sequencing.&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="rbartley_0-1634899900347.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65019iFAACE9F3171FA988/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbartley_0-1634899900347.png" alt="rbartley_0-1634899900347.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the browser console, I can see a number of errors, such as the one shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbartley_1-1634900197897.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65024iFB957745B7D3D8DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbartley_1-1634900197897.png" alt="rbartley_1-1634900197897.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Does anyone have any ideas how to resolve the issue, or how to suppress the error message?&amp;nbsp; I tried using the on(error,function()) method, but since I'm using the Single API, this isn't working.&lt;/P&gt;
&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;p.s. I am not using any extensions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6966"&gt;@ErikWetterberg&lt;/a&gt;&amp;nbsp;, any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 13:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1850601#M15768</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-10-22T13:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1850896#M15770</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;We have seen this issues when third party extensions are involved, by any chance do you have any third party extensions ? if so could you remove them and verify if you have the issue after removing them ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 20:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1850896#M15770</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2021-10-22T20:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1854278#M15816</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47074"&gt;@rbartley&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Did you have the chance to verify if there are third party extensions? Other thing you could check is if there are methods in use that were deprecated.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Kind Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 14:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1854278#M15816</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2021-11-01T14:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1854619#M15822</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22488"&gt;@NadiaB&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I confirm that there are no third party extensions and I am not using any deprecated methods (it's the Single API, e.g. http://&amp;lt;servername&amp;gt;/single/?appid=&amp;lt;appid&amp;gt;&amp;amp;obj=KDswCD&amp;amp;opt=ctxmenu,noselections&amp;amp;select=$::Member%20State%20Name,Belgium&amp;amp;select=$::EU27_FLAG,1 (where I have replaced the actual server name and appid)&lt;A href="http://&amp;lt;servername&amp;gt;/single/?appid=65e59233-254a-451a-b0af-1faeec0c3701&amp;amp;obj=KDswCD&amp;amp;opt=ctxmenu,noselections&amp;amp;select=$::Member%20State%20Name,Belgium&amp;amp;select=$::EU27_FLAG,1" target="_blank"&gt;)&lt;/A&gt;&amp;nbsp; so I'm not using any methods at all).&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 13:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1854619#M15822</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-11-02T13:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1857268#M15859</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22488" target="_blank"&gt;@NadiaB&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It seems that if I remove the second field selection then the error goes away.&amp;nbsp; At first, I wondered whether this was due to the underscore in the field name and so tried to encode that, but I still received the error; I also replaced that field selection with a different selection one a one-word fieldname but that didn't work either.&amp;nbsp; I even tried simplifying the selection to remove the $:: state&amp;nbsp; selector, but no luck either.&amp;nbsp; &amp;nbsp;Finally, I tried to reduce the number of iframes on the page, but that didn't work either.&amp;nbsp; The strange thing is that if I click on OK, the chart is fine, so i&lt;/SPAN&gt;&lt;SPAN&gt;t seems like a bug to me.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would appreciate it if you could raise this with the technical team to find out if they have any ideas.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 16:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1857268#M15859</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-11-09T16:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1857339#M15862</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47074"&gt;@rbartley&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you have a copy of the app, a basic sample mashup&amp;nbsp;and steps to reproduce the best path to follow will be to create a case.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;By any chance have you raised a case before? If not I can help to create a case but we will need the items mentioned above.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Kind Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 19:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1857339#M15862</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2021-11-09T19:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1858586#M15887</link>
      <description>&lt;P&gt;It seems that this error is related to the field.selectValues() method that I was also using on the page linked to a country list.&amp;nbsp; I was using the following call:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;qlikApp.field('Member State Name').selectValues([strSelectedMS], false, true);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;But when I removed the second and third parameters, instead using only:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;qlikApp&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;field&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Member State Name'&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;selectValues&lt;/SPAN&gt;&lt;SPAN&gt;([&lt;/SPAN&gt;&lt;SPAN&gt;strSelectedMS&lt;/SPAN&gt;&lt;SPAN&gt;]);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;the error no longer appears.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22488"&gt;@NadiaB&lt;/a&gt;&amp;nbsp;, thanks for your offer of helping with a support ticket. Fortunately, it wasn't necessary.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 09:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1858586#M15887</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-11-12T09:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1859515#M15894</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47074"&gt;@rbartley&lt;/a&gt; for sharing the resolution of the issue!!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 17:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1859515#M15894</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2021-11-15T17:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1867587#M15992</link>
      <description>&lt;P&gt;Unfortunately, it appears that this was wishful thinking, as the ErrorCode .-2 is back again.&amp;nbsp; However, it is extremely difficult to identify under which circumstances it occurs and to debug as it is not limited to a particular embedded visualization and nor does it appear consistently.&amp;nbsp; It makes me wonder whether it has something to do with a time out when trying to return a visualization.&amp;nbsp; I am going to raise a support case to see if that leads to a solution.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1867587#M15992</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-12-07T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1867620#M15993</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47074"&gt;@rbartley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look for this API and handle the error code accordingly.&lt;/P&gt;
&lt;P&gt;I am sharing sample where I am suppressing any error except ERROR CODE= 5 or 16 which is section access - Access Denied and connection lost to server errors and I am calling different modal to let the users know of the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;qlik&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;setOnError&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;$rootScope&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;qlikError&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;message&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;code&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;) { &lt;/SPAN&gt;&lt;SPAN&gt;//Access Denied&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;AccessErrorModal&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;code&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;16&lt;/SPAN&gt;&lt;SPAN&gt;) { &lt;/SPAN&gt;&lt;SPAN&gt;//Connection Error&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ConnectionErrorModal&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Dec 2021 14:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1867620#M15993</guid>
      <dc:creator>kishore3k</dc:creator>
      <dc:date>2021-12-07T14:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869598#M16010</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/38620"&gt;@kishore3k&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I added a return true statement within the require call (since I don't want to display any message or at all or handle the error in any particular way other than to ignore it) but I still receive the error message.&amp;nbsp; In fact this error 2 code is rather misleading since the charts are shown anyway and on clicking cancel it's as though there was never an error.&amp;nbsp; Do you have any suggestions that might help to just suppress the error?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;require( ["js/qlik"], function ( qlik ) {

	...
	qlik.setOnError( function ( error ) {
		if (error.code == 2) { //Access Denied
			return true;
		}
		else
		{
			...
		}
		
	} );&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 08:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869598#M16010</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-12-13T08:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869602#M16011</link>
      <description>&lt;P&gt;if you have window.qv or anything, comment out that try again......also see if you have setonerror in any other controller and if anything in other controllers, bring everything to main controller.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As i see your code, the errors should only be showing for error code =2 everything should be ignored.&lt;/P&gt;
&lt;P&gt;I dont know how to to fix the error code -2 and my suggestion was more of a workaround.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 09:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869602#M16011</guid>
      <dc:creator>kishore3k</dc:creator>
      <dc:date>2021-12-13T09:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869621#M16012</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/38620"&gt;@kishore3k&lt;/a&gt;&amp;nbsp;Thanks for replying.&amp;nbsp; Sorry, I don't understand your response.&lt;/P&gt;
&lt;P&gt;What is window.qv?&lt;/P&gt;
&lt;P&gt;I confirm that I only have setonerror in this controller.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When you say: "As i see your code, the errors should only be showing for error code =2...&amp;nbsp;"&amp;nbsp; Why do you think that this would show the error code. If I override errorcode 2 with return true, shouldn't that prevent the Qlik error window from appearing when errorcode 2 is found?&amp;nbsp; That it my intention.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 09:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869621#M16012</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-12-13T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869695#M16013</link>
      <description>&lt;P&gt;I am not sure .....I just thought returning true might trigger the modal of error from Qlik.&lt;/P&gt;
&lt;P&gt;Have you tried removing below set of code?&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;qlik.setOnError( function ( error ) {
		if (error.code == 2) { //Access Denied
			return true;
		}
		else
		{
			...
		}
		
	} );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you can try. If you do not want to show any errors.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 10:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1869695#M16013</guid>
      <dc:creator>kishore3k</dc:creator>
      <dc:date>2021-12-13T10:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Single API - random ErrorCode.-2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1876573#M16104</link>
      <description>&lt;P&gt;I raised a support ticket with Qlik for this and had a discussion with one of the employees.&amp;nbsp; It appears that we cannot trap the error being returned by the Single Integration API, and the error handling I included in the Capability API code to handle filtering associated with the drop-down list&amp;nbsp; was never triggered.&amp;nbsp; Therefore, I decided to remove the default filter from the iframe URLs and handle it all via the Capability API.&amp;nbsp; This appears to have resolved the issue, so I assume that it was due to some sort of conflict between the two filtering methods.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 09:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Single-API-random-ErrorCode-2/m-p/1876573#M16104</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2022-01-03T09:33:32Z</dc:date>
    </item>
  </channel>
</rss>

