Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Qlik Community,
I'm encountering a very frustrating issue with my Qlik Sense data load script, and I'm hoping for some guidance.
My Goal: My script iterates through a list of users, checks if they exist in NPrinting via API, creates them if not, and then assigns a specific role ("On Demand Role") to them via NPrinting API. If a user exist, then I use the POST request in else condition and assign them ("On Demand Role").
The Problem: The script is exiting prematurely at random points.
NPrinting API Calls are Successful: I have verified that the NPrinting API calls are working correctly. Users are indeed being created and role is getting assigned in NPrinting.
My Question: Given that the NPrinting API calls are successful, what could be causing Qlik Sense to terminate the script abruptly?
Thank you!
Hi,
Thank you for your response. I am using Sleep delays. I tried 2 sec, 5 sec, 10 and 20 sec as well, but still at some point it will exit out of the loop and a weird thing is that from the point it exits, it will write the whole code in the progress screen.
Also, I tried Error mode to trace the output but instead of logging it, it just shows the code and not the output from that code.