Capturing Error Response with API Connector

I am using the API connector to talk to a Google API. Sometimes the auth token expires and I make a request with an expired token. When that happens, Google returns a 403 Forbidden and a custom error page with a message about the error.

How do I detect this in my app when I run an api workflow?

Checking these boxes on your API call should let you access header and body responses with error messages like these. You could the refer to them in the next step of your workflow and run conditionals as needed

1 Like