Error code

Invalid query

A query parameter or a GraphQL query is not one the delivery API understands. The detail says which part.

Ø100 · 20 teethfree one way, locked the otherABC
Fig. 03 Ratchet and pawlThe wheel turns freely one way, and the pawl stops it turning back.
Code
INVALID_QUERY
Management API
400
Delivery API
400

What to do

Correct the query. The delivery SDKs and the generated types build valid queries.

The response

Every refusal is an application/problem+json document. Its detail says what went wrong in that request; its type is this page.

{
  "code": "INVALID_QUERY",
  "type": "https://coho-cms.com/errors/invalid-query",
  "title": "Invalid query",
  "status": 400,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}

Every code

The error codes, in a table with a filter.