Skip to content

Unable to connect to Firestore Database #99

@fullmetalengineer

Description

@fullmetalengineer

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"}}]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions