Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
After a GetObject or a GetProperties using Qlik Engine API, we received this answer :
{"jsonrpc":"2.0","change":[1,2],"suspend":[1]}
Does anyone know the meaning of this answer?
It's not a result answer, not an error answer. Nothing in the help about this.
Thanks a lot.
Best regards.
Jean-Michel.
Hi,
Some info about the profil is here: Qlik Engine API ‒ Qlik Sense
change: [1,2] means that objects with handle 1 and 2 are invalid. 1 is usually the app.
If there is no Id in the package it means that it is not a reply but a notification. Is there another process working with the app? Perhaps a reload? That might explain 'suspend' that I have never seen before and seems undocumented.
Hope this helps
Erik Wetterberg
Thanks Erik.
The part about notifications is actually in the jsonrpc spec, section 4.1 (it's not a long spec).
Note that a lot of fields, like handle, change, suspend (and also delta) are not covered by jsonrpc.
Erik
This is a notification from Qlik and usually happening when the app is refreshed and saved while you have active websocket.
To pick up the right response you can check the next message from websocket or re-execute.
Also you need to throw a the Doc.Resume method to bypass this safely and continue working