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.

Wanna stay up-to-date with Flutter and Dart?

Subscribe to get a weekly email with the best articles about Flutter and Dart.

    We won't send you spam. Unsubscribe at any time.