DEV Community


Firestore permissions error and what to do about it

Murphy Randle
I’m a professional software writer specialized in Web technologies and engaged in indie application development. I consider myself to be a man of faith. I pursue honesty, integrity, and compassion.
・1 min read

While writing a "cloud function" on Firebase, my computer couldn't write to firestore while my co-worker's computer could. No matter how many times I logged out and logged in, I got this error:

error: { Error: Missing or insufficient permissions.
    at /.../functions/node_modules/grpc/src/client.js:554:15 code: 7, metadata: Metadata { _internal_repr: {} } }
Enter fullscreen mode Exit fullscreen mode

The problem turned out to be related to using firebase logout and firebase login again. This reply to the GitHub issue provides a workaround:


Discussion (0)