I have a new firebase function I deployed with firebase cli tool that is returning a unauthenticated api error when called from the application. I have updated the permissions on the function in gcloud to allUsers / invoke / allow unauthenticated, but this does not fix the issue. This is the extent of troubleshooting i have seen suggested on similar threads, has anyone been able to fix this issue at this point?
2 Answers
The answer was pubsub functions cannot be called via https either with those permissions or through that api as done with regular https functions. I'm unsure if this is possible at all, I created a secondary duplicate function as a standard https function with the required permissions and it now works as expected.
firebase logout, upgrading to the latest cli version withnpm i -g firebase-toolsand then signing back in again withfirebase login?