Error handling of different status codes

How to handle errors based on error type?

When we have errors due to API calls, the workflow stops and go into the error workflow. HOWEVER, I want different error messages for 404 and 503. How can I do that if I can’t determine the status codes? there’s no result when I go to collections of the failed rest API. I can’t also do rest API call directly to error workflow because it will stop the error workflow.

The “on error” side of the workflow will have the cirrent error with all the details of the error.
See here.

1 Like