# USAGE_QUERY_INVALID: 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.

Sent by the management API (400). The page: https://coho-cms.com/errors/usage-query-invalid/

## What to do

Ask for a shorter range, or for days instead of hours.

## The response

```json
{
  "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 error code: https://coho-cms.com/errors/
