Know that your API might return an error and need an efficient way to handle it? This guide is here to help you!
When error ignoring is enabled, a node’s response will always be NULL
when an error occurs. You can use this behavior to build effective error-handling logic.
Steps to Handle Errors:
Create Two Branches:
- First Branch:
data = NULL
- Second Branch:
data != NULL
This setup ensures your scenario flows in the right direction when an error occurs.
What You Can Do:
- Configure an alternative path for your scenario,
- Retry the node request if needed,
- Send error notifications to your preferred channel,
- Ignore non-critical errors if appropriate.