What it means
The request body or parameters failed schema validation.
This is the default code for a 4xx that the API could not classify more precisely.
What to do
Read the errors array: each entry has loc (where), msg (why) and type.
Fix the listed fields and send the request again.
See Errors for the legacy errors shape.
Example response
The detail text is illustrative.
The errors array is the legacy field-level list.
In the SDKs
The Python SDK raises UnprocessableEntityError and the TypeScript SDK raises UnprocessableEntityError.
Both expose code, retryable, the request id and the retry hint.
See Error codes for the full table and attribute names. Last modified on October 29, 2026