Overview - How to access error messages from a connector when using manual error handling.
After you choose Manual Error Handling you will see a default and error branch coming from your connector step. So you can then, for example, send an alerting email (this is of course a very simple example, and you could use the error branch to build a sophisticated alternative route for your workflow):
The above example shows how to compile a simple email (this could also be a message to a Slack channel or any other option you might want to implement) which makes use of the error message from the output of the errored step.
When referencing the error message from the step, the error object needs to be accessed using the following format $.errors.<step-name>.message
In the above example, the error response from the API is being accessed using the following string: $.errors.http-client-1.response.body
See our Error Handling documentation here for more information.
Comments
0 comments
Please sign in to leave a comment.