andre_hold
andre_hold

Reputation: 592

what causes "permission denied"-message with FIREBASE and FLUTTER

I've got the error

'W/SyncTree(31625): Listen at /address failed: DatabaseError: Permission denied'

while sending a request to firebase with an anonymous firebase user and without fancy firebase database rules :) . ..and i want to find out what causes this message.

EDIT: error is the same with an existing user, means user signIn seems to work but accessing database not.

What i've done so far:

What i need:

I need some hint how to find out if there's any problem with that initialization code or with the user login or something else

Upvotes: 1

Views: 1756

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657058

It seems the database is not correctly addressed in FirebaseApp.configure(

FirebaseDatabase.instance.reference().child(...)

would use the default database of the project configured in google-services.json

Upvotes: 3

Related Questions