How to catch a workflow error in Backend Workflows?
Example:
I created a backend workflow to send some data through an API call; in a bubble page, I schedule this backend workflow and pass the pre-determined parameters with the data I want to send.
But if any error occurs in this one, how could I catch the error? I can’t see any option in the backend workflows.
This will break what you have set up already in your workflows, so be careful. It will add another layer on top called ‘body’. But you need to have this checked in the API Connector for the next step to see any errors. You will also need to re-initialize it after you make the change.
If Post Purchase is AN API Call, follow what @J805 said to enable errors in responsve and allow workflow to continue. After that you can choose to create a DB thing, return DATA from API that will include the error for example.
If this is for debugging, you can also find error using logs (advanced)
@J805 and @Jici you both are awesome, I didn’t know that. When we check this box in the API call, we can get the error as a part of the body in anywhere of workflow. That’s amazing.