validation_error (422)
validation_error
HTTP status: 422
Retryable: No — retrying without changes will fail the same way.
The request body or query parameters failed schema validation.
When it fires
A Zod schema rejected the request. The `param` field names the offending property; the `details` object contains the full Zod issue list.
How to handle it
Read `param` and `details` to fix the input. Validation rules are documented per-endpoint in the reference.
Example response
{
"error": {
"type": "https://docs-dev.autohost-dev.uk/api/errors/validation_error",
"code": "validation_error",
"message": "Invalid request body",
"request_id": "req_01HEXAMPLE0000000000000000",
"doc_url": "https://docs-dev.autohost-dev.uk/api/errors/validation_error",
"param": "email",
"details": {
"issues": [
{
"path": [
"email"
],
"message": "Invalid email"
}
]
}
}
}