<?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: Cannot connect to NPrinting API with QvRestConnector 1.3 in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60169#M2191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes - you are right regarding the POST and adding Trusted Origin - my mistake, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you export your script to qvs and attach it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at your code and it looks all good - I have exactly the same code, so I am thinking you might have wrong connection at the time when you are trying to use "WITH CONECTION..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea when using this code is that you need to:&lt;/P&gt;&lt;P&gt;have a GET call to LOGIN and right after you can you get users with "WITH CONNECTION..." clause..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 12:43:28 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2018-04-05T12:43:28Z</dc:date>
    <item>
      <title>Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60164#M2186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fellow forum members&lt;/P&gt;&lt;P&gt;Im trying to fetch Users from NPrinting API using the Qv Rest Connector 1.3 from QlikView.&lt;/P&gt;&lt;P&gt;I've followed the guide &lt;A href="https://community.qlik.com/thread/292037"&gt;How to use Qlik NPrinting APIs inside a Qlik Sense load script&lt;/A&gt; but for some reason it doesn't work.&lt;/P&gt;&lt;P&gt;I've successfully connected to the /login/ntlm endpoint and extracted the cookie but when i try the following script it doesn't work (QVX_UNEXPECTED_END_OF_DATA: HTTP protocol error 500 (Internal Server Error).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;RestUserMasterTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;SQL SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;"__KEY_data",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;(SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;"id",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;"email",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;"__FK_items"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;FROM "items" FK "__FK_items")&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;FROM JSON (wrap off) "data" PK "__KEY_data"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;&lt;SPAN&gt;WITH CONNECTION( URL "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://fullservername:4993/api/v1/users" rel="nofollow" target="_blank"&gt;https://fullservername:4993/api/v1/users&lt;/A&gt;&lt;SPAN&gt;", HTTPHEADER "cookie" "$(vCookie)" );&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im trying with a user with Administrator role in NP.&lt;/P&gt;&lt;P&gt;Port 4993 is open as i can use web console without any issues&lt;/P&gt;&lt;P&gt;Qv Rest Connector is of version 1.3 (i've installed it after Qlik Sense and have also tried to uninstall Qlik Sense before and install Qv Rest Connector afterwards)&lt;/P&gt;&lt;P&gt;I've tried both Nov17 and Feb18 releases.&lt;/P&gt;&lt;P&gt;I've added &amp;lt;ALL&amp;gt; logging to QvRestConnector but that didn't gave me any meaningful info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exact same qvw (except the servername in the url) is working on other NP Installations running both Nov17 and Feb18.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 08:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60164#M2186</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2018-04-05T08:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60165#M2187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your error is generic and it does not provide any valid information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed all steps from this topic and it all works for me both in Qlik Sense and in QlikView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/5571"&gt;How To Use NPrinting APIs In A Qlik Load Script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind to add trusted origin in NPrinitng and REST connection as per this document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 09:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60165#M2187</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-04-05T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60166#M2188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BY THE WAY - for QlikView i had to download&amp;nbsp; and install REST connector separately from Qlik download page.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 09:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60166#M2188</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-04-05T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60167#M2189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that Origin was only needed for POST.&lt;/P&gt;&lt;P&gt;Nevertheless, I added both a trusted origin in NP and a Query Header Origin without any success (same error message).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 09:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60167#M2189</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2018-04-05T09:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60168#M2190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did the same. I've also removed all QV Rest + Sense and installed QV Rest 1.3 again without any progress.&lt;/P&gt;&lt;P&gt;I've also tried on QV directly on the NP box as well as from a Sense installation (feb18 release)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 09:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60168#M2190</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2018-04-05T09:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60169#M2191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes - you are right regarding the POST and adding Trusted Origin - my mistake, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you export your script to qvs and attach it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at your code and it looks all good - I have exactly the same code, so I am thinking you might have wrong connection at the time when you are trying to use "WITH CONECTION..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea when using this code is that you need to:&lt;/P&gt;&lt;P&gt;have a GET call to LOGIN and right after you can you get users with "WITH CONNECTION..." clause..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 12:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60169#M2191</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-04-05T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60170#M2192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue!&lt;/P&gt;&lt;P&gt;TLDR;&lt;/P&gt;&lt;P&gt;A user locale was zh-CN, the API didn't liked that (seem to be issues with "-" sign in the locale).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When looking through the engine log (for an other issue) I found a few entries with "Locale.Locale Source value zh-CN.&lt;/P&gt;&lt;P&gt;I recall i saw something on the forum with a user that had a "-" in his own locale and got a bit curious.&lt;/P&gt;&lt;P&gt;I started with querying another end point which worked!&lt;/P&gt;&lt;P&gt;I removed the users with this locale and the users endpoint started to work as well.&lt;/P&gt;&lt;P&gt;Its quite interesting that a users locale can break the API call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/211622"&gt;lech_miszkiewicz&lt;/A&gt;‌ for trying to answer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60170#M2192</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2018-04-05T14:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60171#M2193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that zh-CN was incorrect (the user was added with an import task) so i changed the locale for the given user in the web-console to first english, saved and then selected chinese and saved.&lt;/P&gt;&lt;P&gt;Same local in db (zh-CN) and the Users API End-point does not work.&lt;/P&gt;&lt;P&gt;I will register a case with Qlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60171#M2193</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2018-04-05T14:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60172#M2194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;thanks for sharing this - it is very useful information and frankly hard nut to crack.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 23:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60172#M2194</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-04-05T23:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60173#M2195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;btw - apologies - i have misspelt your name few times - it was not intensional - sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 23:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60173#M2195</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-04-05T23:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60174#M2196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, even though you dont explicity list the Locale field, the load fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 06:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60174#M2196</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2018-04-06T06:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60175#M2197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no worries, didn't saw it until you mentioned it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 06:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/60175#M2197</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2018-04-06T06:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/1760930#M30498</link>
      <description>&lt;P&gt;Thanks for the tip! Helped me a lot&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 23:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/1760930#M30498</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2020-11-11T23:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to NPrinting API with QvRestConnector 1.3</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/1765811#M30636</link>
      <description>&lt;P&gt;I'm using NPrinting June 2020. The bug is still there. If one user's locale is set to Chinese (with the NPrinting user interface) the API method users returns an HTTP 500 error (whatever client is used).&lt;/P&gt;&lt;P&gt;NPrinting log :&amp;nbsp;ApiPagedResponse`1.Items.Items.Items9[9].Locale.Locale↓↓↓↓Source value:↓↓zh-CN ---&amp;gt; System.ArgumentException: Requested value 'zh-CN' was not found.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 18:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cannot-connect-to-NPrinting-API-with-QvRestConnector-1-3/m-p/1765811#M30636</guid>
      <dc:creator>covering</dc:creator>
      <dc:date>2020-12-02T18:20:12Z</dc:date>
    </item>
  </channel>
</rss>

