Unable to Validate Firestore Schema / Missing or insufficient permissions

Resolved

I have my FF project setup and a Firestore DB created. I connected Firestore using the steps here:

https://docs.flutterflow.io/data-and-backend/firebase/firebase-setup

The [email protected] has all three permissions required: Editor, Service Account User & Cloud Functions Admin.

It connects successfully, but when I try the schema validation, I get this error:

Unable to Validate Firestore Schema

Unable to load data from collection: products. Error: [cloud_firestore/permission-denied] Missing or insufficient permissions..

I created a new FF project and new FS project, went through the process again from scratch and hitting the same problem there. My first DB was in production mode. For the repro test I set it to test mode, saw same issue. Not sure if I'm missing something or if something else is wrong.

Edit: In the FF app under Connect/Firestore, I created a collection and fields that match what I have in the Firestore DB.

Pretty much the same as this post, which was resolved but no info about how it was fixed.

Unable to Validate Firestore Schema due to insufficient permissions. · Issue #793 · FlutterFlow/flutterflow-issues · GitHub

Thanks for any assistance!

6
25 replies