Skip to content

HTTP 422

schema_violation

What to do: Publish a compatible schema or correct the submitted fields.

In enforce and managed modes a submission that fails validation is stored with status quarantined and reason schema_violation; a drift event is raised. Nothing is dropped.

Shape

{ "error": { "code": "schema_violation", "message": "…", "hint": "Publish a compatible schema or correct the submitted fields.", "docs": "https://postbag.dev/docs/errors/schema_violation/" } }

All codes are listed on the error reference. Conventions for the envelope, hints and next[] are in the API overview.