# `validation-failed`

HTTP 422: Validation failed

## What it means

A value in the request body or query is not valid: it fails the request schema, or a rule such as a date range or a decimal-place limit. `errors[]` names the field at fault, usually only the first one found; for a rule, `detail` describes it.

## What to do

Correct the field `errors[]` names and resend; a later check can then name another field.

## The error response

Every error response has an `application/problem+json` body. For this error, its `code` is `validation-failed` and its `type` is `https://api.omono.co/docs/errors/validation-failed`. If you contact Omono about the error through the in-app chat, quote the response's `requestId`.
