<?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: Triggering NPrinting Tasks From QlikView With Rest Connector Fails With File Has Wrong Format... in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Triggering-NPrinting-Tasks-From-QlikView-With-Rest-Connector/m-p/2015052#M83858</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the solution for the 401 error in this article.&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-Common-NPrinting-API-Errors/ta-p/1715009" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-Common-NPrinting-API-Errors/ta-p/1715009&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The NP domain user used in the rest connection must be&lt;BR /&gt;-an NPrinting admin role member&lt;/P&gt;
&lt;P&gt;-must have a domain user account associated with it&lt;/P&gt;
&lt;P&gt;-see the article for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards...&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 22:08:50 GMT</pubDate>
    <dc:creator>Frank_S</dc:creator>
    <dc:date>2022-12-09T22:08:50Z</dc:date>
    <item>
      <title>Triggering NPrinting Tasks From QlikView With Rest Connector Fails With File Has Wrong Format Error</title>
      <link>https://community.qlik.com/t5/App-Development/Triggering-NPrinting-Tasks-From-QlikView-With-Rest-Connector/m-p/2014994#M83857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We're using the Rest Connector to trigger NPrinting publish tasks from a QlikView dashboard, and we're started getting an error I've never seen before. We haven't made any changes to either system that create this issue that I'm aware of.&amp;nbsp;QlikView and NPrinting are both&amp;nbsp;&lt;SPAN&gt;May 2021 SR1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While running the&amp;nbsp;fPostTaskExecution subroutine,&amp;nbsp; this query throws a&amp;nbsp;File Has Wrong Format error in debug:&lt;/P&gt;
&lt;P&gt;RestNPTaskTriggerTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"__KEY_data",&lt;BR /&gt;"id",&lt;BR /&gt;"task",&lt;BR /&gt;"status"&lt;BR /&gt;FROM JSON (wrap off) "data" PK "__KEY_data"&lt;BR /&gt;WITH CONNECTION( &lt;BR /&gt;URL "$(vEndpoint)", &lt;BR /&gt;HTTPHEADER "cookie" "$(vCookie)"&lt;/P&gt;
&lt;P&gt;);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Full error message:&lt;/P&gt;
&lt;P&gt;ScriptErrorCount 1&lt;BR /&gt;ScriptErrorDetails HTTP protocol error 401 (Unauthorized): Requested resource requires authentication.&lt;BR /&gt;ScriptErrorList File Has Wrong Format &lt;BR /&gt;ScriptError File Has Wrong Format&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have a similar process running in another environment with no issues. I tried copying the QVW from that that environment to this one and received the same error, so I'm thinking it might be a setting in NPrinting. We recently turned off&amp;nbsp;&lt;SPAN&gt;Qlik NPrinting authentication, but turning that back on didn't help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone seen this issue before?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 18:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Triggering-NPrinting-Tasks-From-QlikView-With-Rest-Connector/m-p/2014994#M83857</guid>
      <dc:creator>lgtsotrsdh</dc:creator>
      <dc:date>2022-12-09T18:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering NPrinting Tasks From QlikView With Rest Connector Fails With File Has Wrong Format...</title>
      <link>https://community.qlik.com/t5/App-Development/Triggering-NPrinting-Tasks-From-QlikView-With-Rest-Connector/m-p/2015052#M83858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the solution for the 401 error in this article.&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-Common-NPrinting-API-Errors/ta-p/1715009" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-Common-NPrinting-API-Errors/ta-p/1715009&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The NP domain user used in the rest connection must be&lt;BR /&gt;-an NPrinting admin role member&lt;/P&gt;
&lt;P&gt;-must have a domain user account associated with it&lt;/P&gt;
&lt;P&gt;-see the article for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards...&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 22:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Triggering-NPrinting-Tasks-From-QlikView-With-Rest-Connector/m-p/2015052#M83858</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-12-09T22:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering NPrinting Tasks From QlikView With Rest Connector Fails With File Has Wrong Format...</title>
      <link>https://community.qlik.com/t5/App-Development/Triggering-NPrinting-Tasks-From-QlikView-With-Rest-Connector/m-p/2015054#M83859</link>
      <description>&lt;P&gt;Also make sure that you have dedicate NPrinting service account across different NPrinting and QlikView environment. Each NPrinting environment MUST have its own dedicated NP service account.&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Dedicated-NPrinting-Server-amp-Engine-Service-Account/ta-p/1716056" target="_blank"&gt;Dedicated NPrinting Server &amp;amp; Engine Service Accoun... - Qlik Community - 1716056&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Kind regards...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 22:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Triggering-NPrinting-Tasks-From-QlikView-With-Rest-Connector/m-p/2015054#M83859</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-12-09T22:10:27Z</dc:date>
    </item>
  </channel>
</rss>

