Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
lanlizgu
Creator III
Creator III

Connection Issue Nprinting REST API

I  am having an issue when connecting to the server whe ncreating the RestUserMasterTable table.  The get connection ins correct, but when it arrives:

 

RestUserMasterTable:
SQL SELECT
"__KEY_data",
(SELECT
"id",
"email",
"__FK_items"
FROM "items" FK "__FK_items")
FROM JSON (wrap off) "data" PK "__KEY_data"
WITH CONNECTION( URL "https://NPrintingServer.domain.com:4993/api/v1/users", HTTPHEADER "cookie" "$(vCookie)");

 

it gives the following error

HTTP protocol error 403 (Forbidden): The server refused to fulfill the request.
 
El error se ha producido aquí:
RestUserMasterTable: SQL SELECT "__KEY_data", (SELECT "id", "email", "__FK_items" FROM "items" FK "__FK_items") FROM JSON (wrap off) "data" PK "__KEY_data" WITH CONNECTION( URL "https://NPrintingServer.domain.com:4993/api/v1/users", HTTPHEADER "cookie" "NPWEBCONSOLE_SESSION=4626b23fd134eb523c49ad6ec5c2504720a1e03a-%00userlogin%3A2020-07-17T11%3A43%3A12.7636101Z%00%00NPWEBCONSOLE_XSRF-TOKEN%3AEqm5fgLhnhtMkBs4aWWy6KSjj4%2B5ymKHWdthGFFmYdw%3D%00%00_TS%3Asession%00%00userid%3Ae49f89818e3840b9ae33db5b59b1fcce%00;")
 

 

 

The strange thing is that If I do this in QliKSense desktop, it is working... In the server I have the QVrestConnector 2.34 version and in the desktop the 2.16.1, so I understand that the issue could be with the 2.34 version

Labels (2)
1 Solution

Accepted Solutions
lanlizgu
Creator III
Creator III
Author

I fixed it updating the previous version of the QVRestConnector as mentioned in the following thread

 

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Nprinting-REST-API-broke-after-June-2020-up...

View solution in original post

1 Reply
lanlizgu
Creator III
Creator III
Author

I fixed it updating the previous version of the QVRestConnector as mentioned in the following thread

 

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Nprinting-REST-API-broke-after-June-2020-up...