Michele Volpato

Michele Volpato

Cloud Functions stopped having access to Firestore

Tips

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.

Service account with editor roles

Get a weekly email about Flutter

Subscribe to get a weekly curated list of articles and videos about Flutter and Dart.

    We respect your privacy. Unsubscribe at any time.

    Leave a comment