# `invalid_request`

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

The request does not match what the operation accepts.

## Status

HTTP `400`, title `Invalid request`. One of the [the request itself](https://www.shortsintel.com/docs/reference/errors#the-request-itself) errors. Branch on `code`, never on the status or the prose.

Retryable: no. Every body carries this as `retryable: false`, beside `action` and `remedy`: the same request will fail again until the request changes or a person acts.

## Common causes

- A required field or parameter is missing.
- A value has the wrong type, format or range.
- The body is not valid JSON.
- A keyword `phrase` that is empty or over 100 characters.

## What to do

Action: Fix the field named in `detail`, then send the corrected request.

The request does not match the operation. Read `detail`; retrying unchanged will fail identically.

## Example

The body arrives as `application/problem+json`, with `retryable` and the `remedy` above. Most responses add `detail` about the occurrence, and some add fields of their own.

```json
{
  "type": "https://www.shortsintel.com/docs/reference/errors/invalid_request",
  "title": "Invalid request",
  "status": 400,
  "code": "invalid_request",
  "retryable": false,
  "action": "Fix the field named in `detail`, then send the corrected request.",
  "remedy": "The request does not match the operation. Read `detail`; retrying unchanged will fail identically."
}
```

## Related

- [Errors](https://www.shortsintel.com/docs/concepts/errors)
- [Every error code](https://www.shortsintel.com/docs/reference/errors)

[Previous key_scope_insufficient](https://www.shortsintel.com/docs/reference/errors/key_scope_insufficient)[Next unsupported_platform](https://www.shortsintel.com/docs/reference/errors/unsupported_platform)
