API call workflows/details no valid JSON when workflowid is string
Posted: Sat Dec 15, 2018 4:44 pm
Hey Steinar,
it can happen that a workflow id is a string instead of an int (in my case it happened when importing the wf that was published here in the workflow respository thread).
In that case, the returned JSON from this Api method is not a valid json so any json parser throws an error.
Possibly you could just quote all returned values, not just only strings for safety
http://desktop-uifqt86:65445/api/json/v ... ws/details
it can happen that a workflow id is a string instead of an int (in my case it happened when importing the wf that was published here in the workflow respository thread).
In that case, the returned JSON from this Api method is not a valid json so any json parser throws an error.
Possibly you could just quote all returned values, not just only strings for safety
http://desktop-uifqt86:65445/api/json/v ... ws/details