You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deployed a Firebase Cloud Function which should not have been throwing a CORS error, since all my other cloud functions are called using the exact same code/headers/tokens etc and they are all working perfectly fine.
I get the following error message in the logs when I call this cloud function:
"The request was not authenticated.
Either allow unauthenticated invocations or set the proper Authorization header.
Read more at https://cloud.google.com/run/docs/securing/authenticating
Additional troubleshooting documentation can be found at:
https://cloud.google.com/run/docs/troubleshooting#unauthorized-client"
This error message is incorrect, it is not a CORS issue.
I deleted the failing cloud function and re-deployed, and now it works. I'm not sure what is going on, but obviously the error message being thrown is incorrect.
The text was updated successfully, but these errors were encountered:
Hey @ahill187. Can you give me a code sample I can try to use to reproduce the issue? It can be one with minimal code, without any business / proprietary code. Thank you
Description
I deployed a Firebase Cloud Function which should not have been throwing a CORS error, since all my other cloud functions are called using the exact same code/headers/tokens etc and they are all working perfectly fine.
I get the following error message in the logs when I call this cloud function:
This error message is incorrect, it is not a CORS issue.
I deleted the failing cloud function and re-deployed, and now it works. I'm not sure what is going on, but obviously the error message being thrown is incorrect.
The text was updated successfully, but these errors were encountered: