<?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 HTTP protocol error 500 in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483380#M42103</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I have an nprinting trigger application in Qliksense app and this application gives this error once a week: &lt;STRONG&gt;Error: HTTP protocol error 500 (Internal Server Error).&lt;/STRONG&gt; I couldn't find the reason, I would be very happy if you could help me.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;20240925T072007.786+0300 Error: HTTP protocol error 500 (Internal Server Error):&lt;BR /&gt;20240925T072007.786+0300 &lt;BR /&gt;20240925T072007.786+0300 An unhandled exception occurred; check the log for more information.&lt;BR /&gt;20240925T072007.788+0300 Execution Failed&lt;BR /&gt;20240925T072007.798+0300 Execution finished.&lt;/P&gt;
&lt;P&gt;Versions:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Qliksense May 2024&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Nprinting Feb2024 SR2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712" target="_blank"&gt;@Frank_S&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326" target="_blank"&gt;@Lech_Miszkiewicz&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729" target="_blank"&gt;@Ruggero_Piccoli&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 07:04:23 GMT</pubDate>
    <dc:creator>krmvacar</dc:creator>
    <dc:date>2024-09-25T07:04:23Z</dc:date>
    <item>
      <title>HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483380#M42103</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I have an nprinting trigger application in Qliksense app and this application gives this error once a week: &lt;STRONG&gt;Error: HTTP protocol error 500 (Internal Server Error).&lt;/STRONG&gt; I couldn't find the reason, I would be very happy if you could help me.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;20240925T072007.786+0300 Error: HTTP protocol error 500 (Internal Server Error):&lt;BR /&gt;20240925T072007.786+0300 &lt;BR /&gt;20240925T072007.786+0300 An unhandled exception occurred; check the log for more information.&lt;BR /&gt;20240925T072007.788+0300 Execution Failed&lt;BR /&gt;20240925T072007.798+0300 Execution finished.&lt;/P&gt;
&lt;P&gt;Versions:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Qliksense May 2024&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Nprinting Feb2024 SR2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712" target="_blank"&gt;@Frank_S&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326" target="_blank"&gt;@Lech_Miszkiewicz&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729" target="_blank"&gt;@Ruggero_Piccoli&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 07:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483380#M42103</guid>
      <dc:creator>krmvacar</dc:creator>
      <dc:date>2024-09-25T07:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483420#M42106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/57698"&gt;@krmvacar&lt;/a&gt;, I will be more than happy to help, but...&lt;/P&gt;
&lt;P&gt;What is the script you are executing? I wrote whole library (NPrinting.qvs) and I handle connection and authentication almost each time I trigger API call &lt;A href="https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/" target="_blank"&gt;https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;In this case we dont know what you are trying to do, how you have configured your GET and POST connections, what user you are using, how you handle cookies, how often you trigger your API calls, how busy is your server (Qlik Sense and NPrinting) etc... We just know that you got an error when trying to connect to NPrinting.&lt;/P&gt;
&lt;P&gt;I will say - I am not getting such error, so there is something in your script or environment what is configured differently. What is it? We need more info from you to be able to help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 08:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483420#M42106</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-09-25T08:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483436#M42107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reply,&lt;/P&gt;
&lt;P&gt;Of course I can give more information.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For login NP&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;***********************************************************************&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO 'REST_Nprinting_GET ;&lt;/P&gt;
&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"Set-Cookie",&lt;BR /&gt;"__KEY__response_header"&lt;BR /&gt;FROM JSON "_response_header" PK "__KEY__response_header";&lt;/P&gt;
&lt;P&gt;[_response_header]:&lt;BR /&gt;LOAD [Set-Cookie] AS [Set-Cookie]&lt;BR /&gt;RESIDENT RestConnectorMasterTable&lt;BR /&gt;WHERE NOT IsNull([__KEY__response_header]);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Let vCookieRaw = Peek('Set-Cookie',0,'cookie_items'); &lt;BR /&gt;Let vCookie = TextBetween(vCookieRaw,'SameSite=None,',' Path=/',SubStringCount(vCookieRaw,'SameSite=None')-1);&lt;BR /&gt;DROP TABLE RestConnectorMasterTable;&lt;/P&gt;
&lt;P&gt;*******************************************************************************&lt;/P&gt;
&lt;P&gt;POST method&lt;/P&gt;
&lt;P&gt;TASKID:&lt;BR /&gt;load * inline [ &lt;BR /&gt;TASKID&lt;BR /&gt;1900693b-6d89-4eb1-bd19-b8ee6d22c0c2&amp;nbsp;&lt;BR /&gt;5fc70910-2ase-49af-b3b5-efa4c30a5fd2&amp;nbsp;&lt;BR /&gt;8f5b1d2b-7afd-4c6d-9ef3-7c9838fb743e ];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for i=1 to FieldValueCount('TASKID')&lt;/P&gt;
&lt;P&gt;let vPublshTaskURL = 'https://*********/api/v1/tasks/'&amp;amp;FieldValue('TASKID',$(i))&amp;amp;'/executions';&lt;/P&gt;
&lt;P&gt;SQL SELECT&lt;BR /&gt;"__KEY_data"&lt;BR /&gt;FROM JSON (wrap off) "data" PK "__KEY_data"&lt;BR /&gt;WITH CONNECTION( URL "$(vPublshTaskURL)", HTTPHEADER "cookie" "$(vCookie)");&lt;BR /&gt;&lt;BR /&gt;Sleep(30000);&lt;/P&gt;
&lt;P&gt;next&lt;/P&gt;
&lt;P&gt;************************************************************************************************************&lt;/P&gt;
&lt;P&gt;Task runs on qliksense every morning at 7am&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much&lt;/P&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>Wed, 25 Sep 2024 09:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483436#M42107</guid>
      <dc:creator>krmvacar</dc:creator>
      <dc:date>2024-09-25T09:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483463#M42108</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/57698"&gt;@krmvacar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In short you are using:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;GET method
&lt;UL&gt;
&lt;LI&gt;to get a cookie&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;"POST method" - although I dont see connection (Lib Connection POST) !!! - to run:
&lt;UL&gt;
&lt;LI&gt;run 1st task &amp;amp; wait 30 seconds&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;run 2nd task &amp;amp; wait 30 seconds&lt;/LI&gt;
&lt;LI&gt;run 3rd task &amp;amp; wait 30 seconds&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Questions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;At which stage do you get an error? Is this during the GET method or POST method (which attempt)?&lt;/LI&gt;
&lt;LI&gt;What are the timeout settings on your connections?&lt;/LI&gt;
&lt;LI&gt;What are the workoads on the servers at that time - is it possible that there are many things reloading/running /executing and there is not enough time to get response in time?&lt;/LI&gt;
&lt;LI&gt;Do you have your Origins whitelisted (IPs, Hostnames and FQDNs)?&lt;/LI&gt;
&lt;LI&gt;Do you specify Origins in your headers?&lt;/LI&gt;
&lt;LI&gt;Are you having both servers in the same regional settings?&lt;/LI&gt;
&lt;LI&gt;What account are you using to run this?&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Do you have dedicated different service accounts for Qlik Sense and NPrinting services?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Having a full load log with error (you can scramble hostnames or domainnames if need be) would be helpful.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 09:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483463#M42108</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-09-25T09:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483481#M42110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I forgot to add the post method connection link&lt;/P&gt;
&lt;P&gt;1- Post method.&lt;/P&gt;
&lt;P&gt;2-I don't know how to check this?&lt;/P&gt;
&lt;P&gt;3-&amp;nbsp;yes it is possible the server is fine&lt;/P&gt;
&lt;P&gt;4- Qliksense proxy whitelist? for nprinting ıp no&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5-Yes, I specified it, but the qliksense address I connect to is not available in the origin, should I add it?&lt;/P&gt;
&lt;P&gt;6- yes&lt;/P&gt;
&lt;P&gt;7- service accaount&lt;/P&gt;
&lt;P&gt;8 - same account&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 10:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483481#M42110</guid>
      <dc:creator>krmvacar</dc:creator>
      <dc:date>2024-09-25T10:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483493#M42111</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/57698"&gt;@krmvacar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Answering above points:&lt;/P&gt;
&lt;P&gt;point 2 - Checking timeout. I suggest to increase to value between 30-300 if necessary&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1727262133502.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172143i8C82D3A176D7DA09/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1727262133502.png" alt="Lech_Miszkiewicz_0-1727262133502.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;point 4 - Whitelisting In NPrinting: Admin --&amp;gt; Settings --&amp;gt; OnDemand all possible combinations of Qlik Sense server addresses&lt;/P&gt;
&lt;P&gt;point 5 - absolutely, should be added as per point 4. Then in connection POST Method configuration you would have:&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;EM&gt; ADDITIONAL REQUEST PARAMETERS&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; Query parameters Leave blank &lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; Query headers:&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; Name: Origin&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; Value: '&lt;A href="https://your" target="_blank"&gt;https://your&lt;/A&gt; trusted qliksense origin declared in NPrinting'&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;point 7 - what service account. I normally use NPrinting service account (which in my case is always different than QS service account)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;point 8 - &lt;STRONG&gt;I always use different service account for Qlik Sense and different service account for NPrinting.&amp;nbsp;&lt;/STRONG&gt;I had already very heated conversation regarding this with Qlik Support as I saw issues where the same account was used to run both services. They were not confirming what is best supported configration but:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/February2024/Content/NPrinting/DeployingQVNprinting/User-accounts.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2024/Content/NPrinting/DeployingQVNprinting/User-accounts.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Lastly:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;If I was running your code I would do following change to include POST connection before every post method:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;for i=1 to FieldValueCount('TASKID')&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;&lt;STRONG&gt;LIB CONNECT TO 'REST_Nprinting_POST;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;let vPublshTaskURL = 'https://*********/api/v1/tasks/'&amp;amp;FieldValue('TASKID',$(i))&amp;amp;'/executions';&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;SQL SELECT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"__KEY_data"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM JSON (wrap off) "data" PK "__KEY_data"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WITH CONNECTION( URL "$(vPublshTaskURL)", HTTPHEADER "cookie" "$(vCookie)");&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Sleep(30000);&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;next&lt;/EM&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;cheers&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Sep 2024 11:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483493#M42111</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-09-25T11:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483502#M42112</link>
      <description>&lt;P&gt;Hello, HTTP is a client-server protocol which works under a request-response model, in your case, I suppose you got the 500 error on your "client"; anyway, an HTTP's 500 error is a server side error.&lt;/P&gt;
&lt;P&gt;If you are using a REST architecture, the body of the HTTP response status code (500) &lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt; might have&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; a more detailed error, if not, and if you have the permissions, you can debug the server application by taking a look into some error log; otherwise, and if you don't have permissions to the server application, you might want to contact the server admins as they might help you &lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;by reviewing their end (logs).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Finally, from my point of view sleep(30000) is not recomanded and you should use a a dynimic timer because if you have more than one application doing the same task you don't want all of them requesting resurces at exactly the same time.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 12:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483502#M42112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-25T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483508#M42113</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I made the change you said and updated the timeout period to 90. I also edited the code. I will continue testing, thank you very much for the information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 12:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483508#M42113</guid>
      <dc:creator>krmvacar</dc:creator>
      <dc:date>2024-09-25T12:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483644#M42120</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It gave an error again but this time the reason is different.&lt;/P&gt;
&lt;P&gt;A disabled task id was defined in the inline table, so it gave an error.&lt;/P&gt;
&lt;P&gt;After giving task IDs in the inline table, can we check whether they are disabled or enabled?&lt;/P&gt;
&lt;P&gt;If we add that control here and say that only the enabled ones should go, the possibility of an error will be eliminated.&lt;/P&gt;
&lt;P&gt;Thank you very much for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 06:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483644#M42120</guid>
      <dc:creator>krmvacar</dc:creator>
      <dc:date>2024-09-26T06:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483667#M42121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/57698"&gt;@krmvacar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course you can write control script checking if those tasks are enabled. I have part of it done and on screenshot I have flagged what field you can use to get this info from.&lt;/P&gt;
&lt;P&gt;Have a looked at the NPrinting.qvs i mentioned in my previous post?:&amp;nbsp;&lt;A href="https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/" target="_blank"&gt;https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There you will see field which will allow you to validate if task is enabled. This is in the section of script which loads tasks via API. Please have a look and apply according to your needs.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1727333872341.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172167iCA666CD752354A53/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1727333872341.png" alt="Lech_Miszkiewicz_0-1727333872341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 07:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483667#M42121</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-09-26T07:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP protocol error 500</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483672#M42122</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 07:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/HTTP-protocol-error-500/m-p/2483672#M42122</guid>
      <dc:creator>krmvacar</dc:creator>
      <dc:date>2024-09-26T07:28:12Z</dc:date>
    </item>
  </channel>
</rss>

