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: 
ali_hijazi
Partner - Master II
Partner - Master II

Catch the error message sent by Nprinting

Hello @Lech_Miszkiewicz 
I'm calling in Qlik sense an nprinting task and I'm looping while execution status is running
I'm able to catche of the execution status is Abored or Failed
but when the execution status is Failed, I want to catch the error message thrown by Nprinting
is this feasible ?

SQL SELECT
"id",
"result",
"progress",
"status",
"completed"
FROM
JSON (wrap off) "data"
WITH
CONNECTION( URL "$(vExecutionURL)", HTTPHEADER "cookie" "$(vL.Cookie)", QUERY "Limit" "$(vL.Query_Limit)")

this is the script ; what I meant is there a column that would contain the error message in case there is one?
Kindly advise

I can walk on water when it freezes
Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @ali_hijazi 

Documentation does not list endpoint with this information: https://help.qlik.com/en-US/nprinting/February2024/APIs/NP+API/index.html

Cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

2 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @ali_hijazi 

Documentation does not list endpoint with this information: https://help.qlik.com/en-US/nprinting/February2024/APIs/NP+API/index.html

Cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
David_Friend
Support
Support

@ali_hijazi I agree with Lech, not a way to do this 😞