Skip to main content

Official Support Articles

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Welcome to Qlik Community! Check out our new navigation! FIND OUT MORE

Troubleshooting Common NPrinting API Errors

cancel
Showing results for 
Search instead for 
Did you mean: 
Frank_S
Support
Support

Troubleshooting Common NPrinting API Errors

Attachments

Notice

 

Setup Requirements - QlikView and Qlik Sense

 

NOTE: You may use the NP APIs with the programming language or tool you prefer. See the following to diagnose non-Qlik Rest get and post connections:

 

Resolution:

Issue: Login Error - 401 unauthorized or 403 forbidden

  • You must use Windows NTLM authentication in any Rest Connector configuration for all REST connections used with NPrinting
  • NPrinting Windows Authentication MUST be enabled in the NPrinting Web Console "Admin>Settings>Authentication"
  • Ensure domain user account is mapped to an NPrinting user account for use with NPrinting API's. This NP account must also have the NPrinting 'Administrator' role assigned to it. 
  • Update the Rest Connector with the correct Windows NTLM NPrinting Domain user ID and Password, Test the connection and SAVE before loading the data in the data load editor.
  • Ensure "trusted origin" is added

trusted origin.PNG

  • Ensure the "Use current user credentials" checkbox is unchecked in the REST GET and POST connections


Issue: 403 Forbidden

Qlik Sense June 2020 connecting to NPrinting getting "HTTP protocol error 403 (Forbidden): The server refused to fulfill the request."

ensure use current credentials is deselected.PNG


Issue: API POST 405 method not supported (allowed)

  • Check to ensure that the Task ID is valid or that you have at least one Publish Task enabled for the NPrinting App that you are trying to run
  • Check to ensure that the Qlik Sense server and or the QlikView server is added as a Trusted Origin in NPrinting On Demand Settings
  • Open your REST (POST) connection and type the Windows NTLM user ID and password with this format: domain\administrator. NOTE: This user must be mapped into and NPrinting user account that has the NPrinting 'Administrator' role assigned to it.
  • Update the Rest Connector with the correct Windows NTLM NPrinting Domain user ID and Password, Test the connection and SAVE before loading the data in the data load editor.

Issue: Unable to edit users. Error:QVX_UNEXPECTED_END_OF_DATA: HTTP protocol error 400 (Bad Request): {"error":{"code":400,"message":"Request is malformed."}}


References: 

*The Qlik Rest connectors are not supported for use where kerberos authentication is present. See details here: Feature Request: Qlik REST connector should be able to support connections to server with Kerberos a...

Version history
Last update:
‎2022-04-29 12:07 PM
Updated by: