> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paypathiq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# validation_error

> Validation error (HTTP 422).

| Field          | Value                                                  |
| -------------- | ------------------------------------------------------ |
| Status         | `422`                                                  |
| Problem `type` | `https://docs.paypathiq.com/problems/validation_error` |
| Retryable      | No                                                     |

## When this happens

A route parameter or the request body failed validation. Route parameters are checked before the API key, so an invalid ID returns `422` even when the key is also wrong. The `errors` array lists up to 20 field problems, each with a JSON `pointer` and a `code`. See [field error codes](/errors-and-retries#field-error-codes).

## What to do

Correct the fields named in `errors` and send the request again. Do not retry an unchanged request.
