> ## Documentation Index
> Fetch the complete documentation index at: https://cortex-foundation-add13747-droid-1a2462c9-cor-444-sanitize.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# validation_failed

> Validation failed. HTTP 422.

# `validation_failed`

|           |                                                             |
| --------- | ----------------------------------------------------------- |
| HTTP      | `422`                                                       |
| `code`    | `validation_failed`                                         |
| `type`    | `https://docs.cortex.foundation/problems/validation_failed` |
| Retryable | no                                                          |

Request body or parameters failed structural or semantic validation. Field failures travel in `errors[]` with a JSON Pointer and a stable per-field code (`too_long`, `required`, `not_one_of`).

```json theme={null}
{
  "type": "https://docs.cortex.foundation/problems/validation_failed",
  "title": "Validation failed",
  "status": 422,
  "code": "validation_failed",
  "request_id": "req_…"
}
```

See [Errors](/api/errors) for how to branch, and what not to render from `detail`.
