Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to Firestore Database #99

Open
fullmetalengineer opened this issue Oct 15, 2021 · 0 comments
Open

Unable to connect to Firestore Database #99

fullmetalengineer opened this issue Oct 15, 2021 · 0 comments

Comments

@fullmetalengineer
Copy link

Hi all,

I am able to connect to Realtime databases, and work with them normally, but I am unable to connect to the "Firestore database". I have provided the URL structure required in this link, which looks roughly like:

https://firestore.googleapis.com/v1/projects/YOUR_PROJECT_ID/databases/(default)/documents/

But I get an error when I try to actually retrieve the data that's stored there.

I'm not sure why I am getting this error given that I am able to connect just fine the the realtime database option?

Here's the data returned:

{"error"=>
  {"code"=>403,
   "message"=>"Request had insufficient authentication scopes.",
   "status"=>"PERMISSION_DENIED",
   "details"=>
    [{"@type"=>"type.googleapis.com/google.rpc.ErrorInfo",
      "reason"=>"ACCESS_TOKEN_SCOPE_INSUFFICIENT",
      "domain"=>"googleapis.com",
      "metadata"=>
       {"service"=>"firestore.googleapis.com",
        "method"=>"google.firestore.v1.Firestore.GetOrListDocuments"}}]}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant