Skip to content

Permission denied in Firebase Realtime Database Quickstart project #239

@piotrek-k

Description

@piotrek-k

I've cloned this repo and followed exactly those steps listed here: https://github.com/firebase/quickstart-js/blob/master/database/README.md#getting-started

Unfortunately, after opening localhost:5000 and logging in using exsiting Google account, I firstly get a warning:

@firebase/database: FIREBASE WARNING: set at /users/[some_long_key] failed: permission_denied

Then error:

Uncaught (in promise) Error: PERMISSION_DENIED: Permission denied
at index.esm.js:13070
at yt (index.esm.js:684)
at t.callOnCompleteCallback (index.esm.js:13061)
at index.esm.js:12838
at index.esm.js:12013
at n.onDataMessage_ (index.esm.js:12046)
at t.onDataMessage_ (index.esm.js:11331)
at t.onPrimaryMessageReceived_ (index.esm.js:11325)
at t.onMessage (index.esm.js:11226)
at t.appendFrame_ (index.esm.js:10831)

Which points me to some file (index.esm.js) which doesn't really helps with figuring out what could be wrong.

How can I debug why Firebase returned PERMISSION_DENIED error? What could go wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions