Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firestore HTTP Insomnia query : Stream error in the HTTP/2 framing layer

I'm trying to query my Firestore database using an HTTP query via the Insomnia API:

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

with this body:

{
  "structuredQuery": {
    "from": [
        {
            "collectionId": "users"
        }
    ],
    "where": {
        "fieldFilter": {
            "field": {
                "fieldPath": "email"
            },
            "op": "EQUAL",
            "value": {
                "stringValue": "[email protected]"
            }
        }
    }
  }
}

And I get the following error:

HTTP query: Stream error in the HTTP/2 framing layer

Any idea what's wrong?

like image 314
Baptiste Arnaud Avatar asked Jun 29 '20 09:06

Baptiste Arnaud


1 Answers

May try to change "GET" to "POST"

like image 53
Jason Parker Avatar answered Nov 17 '22 13:11

Jason Parker