validation_error
Validation failures — field-level errors and payload fixes
HTTP status: 400 / 422
Category: API client errors
What this error means
The request body or query parameters failed server-side validation. The API returns field-level details when available.
Related codes: invalid_request, missing_tenant, and billing_not_configured.
Common causes
- Required fields omitted from the request body
- Invalid format (slug, email, URL, enum value)
- Value out of allowed range or length
- Tenant context missing (
X-Tenant-IDor tenant claim in token) - Calling billing endpoints before Stripe is configured
How to fix it
- Inspect
fieldErrorsonWochaValidationError(maps from the APIerrorsobject). - Compare your payload against the OpenAPI spec.
- Ensure
Content-Type: application/jsonand valid JSON syntax. - Pass
X-Tenant-IDwhen using tokens without an embedded tenant claim. - Fix the payload before retrying — validation errors are not transient.