# invalid_request

Invalid request. HTTP 400.

## What it means

Check the query values. Send API keys only in the Authorization header.

## What to do

Fix the query and send it again. Unknown or repeated parameters, malformed dates and IDs, and periods longer than 400 days are refused.

## Example response

```json
{
  "type": "https://docs.kapiworks.com/errors/invalid_request",
  "title": "Invalid request",
  "status": 400,
  "detail": "Check the query values. Send API keys only in the Authorization header.",
  "code": "invalid_request"
}
```

Errors use `application/problem+json` (RFC 9457). Act on `code` or `type`; `detail` is for people and can change.