Catching exceptions in backend workflows

I am using the “Extract Values from JSON” element (JSON parser plugin) in a backend workflow.
The input to this element should be a well-fomed json.

Issue is, i get a JSON from an API (open AI) and sometimes the API fails to send a well-fomed JSON. In this case, the element will fail and it does so silently. What I would like to happen is for the workflow to continue after it fails in this step.

Can this be done?
Fairly simple exception handling.

I found a workaround, which is formatting the responses as JSON safe. Still, i am very interested in any hack to catch exceptions in the backend workflows.

This topic was automatically closed after 70 days. New replies are no longer allowed.