Cloud Functions stopped having access to Firestore
1 min read

Cloud Functions stopped having access to Firestore

After adding automatic backup to a Firebase project I am working on, Cloud Functions started getting an error when accessing Firestore:

Error code 7: 'Missing or insufficient permissions.'

The solution was to add the Editor role to the default service account.

Subscribe to a curated newsletter

Receive an email every week with curated content about Dart and Flutter.

See previous issues of the newsletter.