Error code
Usage query invalid
The usage report cannot answer this range: it is malformed, too long, or asks for hours further back than hours are kept.
- Code
USAGE_QUERY_INVALID- Management API
- 400
What to do
Ask for a shorter range, or for days instead of hours.
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": "USAGE_QUERY_INVALID",
"type": "https://coho-cms.com/errors/usage-query-invalid",
"title": "Usage query invalid",
"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.