Capture CORS API request error

Database & APIs

Hi, I'm testing FlutterFlow and loving it so far.

When doing an API call, I'd like to know how to capture a CORS error.

When testing from a web browser, it looks like the "Backend Call API (Login Token)" action chain breaks when there is a CORS issue. I don't need to fix the CORS issue now, but I need to capture the error and handle it.

In the action screenshot below, it looks like "Conditional Action 1" never executes when running app in web browser and there is a CORS error. How can I display the error message if there is a CORS error? thanks in avance.

What have you tried so far?

Tried changing the condition so instead of checking for "Success" it checks if the token that should return the API call is not set or empty. But the action chain breaks before executing the condition.

Did you check FlutterFlow's Documentation for this topic?
Yes
1