Skip to main content

validation.failed

HTTP Status: 422 Category: Validation

When you see this

Request body failed Pydantic schema validation.

How to fix it

Consult error.details.fields for the per-field failure reasons and correct the payload before retrying.

Example response

{
"error": {
"code": "validation.failed",
"message": "Request body failed Pydantic schema validation.",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/validation.failed",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}