Private API Call not working in Test/Run/Local Run/Web Publishing

Database & APIs

I have a Private API Group that Requires Authentication. It works in the API tab in Flutterflow but does not work anywhere else. It works fine if it is public but I do not want the Bearer token to be exposed. I am getting different errors in the different environments.

In Flutterflow:

In Test Mode Private API Call:

In Run Mode: This error seems like the Authorization header is not being passed

In Web (Web Publishing):

Test Mode & Run Public API Call:

What have you tried so far?
  • I ensured both the project and cloud functions are both in us-central1

  • Turned off private and the API call works

  • Not seeing a CORS issue

  • Tried creating the same API call without an API group and encountering the same issue

Did you check FlutterFlow's Documentation for this topic?
Yes
2
7 replies