Error code
Invalid query
A query parameter or a GraphQL query is not one the delivery API understands. The detail says which part.
- 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.