AntonShuvaev / intellij-firebase-firestore

Firebase Firestore Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/23609-firebase-firestore
3 stars 0 forks source link

Unable to connect #8

Open jimcornmell opened 14 hours ago

jimcornmell commented 14 hours ago

Hi Just purchased and I'm unable to connect (time expired on the evaluation, before I got access to the DB, things take time :shrug: ). Here is a screenshot of hitting the "Test Connection" button.

image

The error text is:

Connection test failed: com.google.cloud.firestore.FirestoreException: io.grpc
.StatusRuntimeException: PERMISSION_DENIED: Missing or insufficient permissions.

What extra permissions do I require? I can read and write from the db using a local Kotlin program, as a developer my organisation will not give me any more permissions (we have over 400 devs) as its one size fits all for access, and usually the minimum possible for security.

Or do I need specific info in the other fields? I've added a project and db for what my kotlin code uses and that changes the error to:

Connection test failed: java.util.NoSuchElementException: Collection contains no element matching
the predicate.

Which means nothing to me?

AntonShuvaev commented 14 hours ago

Thanks for reporting the issue. Do you have permissions to list all collections, or do you have permissions only for specific collections?