Skip to content

// Client error

422 Unprocessable Content

The server understands the content type and syntax, but cannot process the instructions because the submitted values fail semantic or domain validation.

Common causes

  • A field violates a business rule.
  • Values conflict with current resource state.
  • A required domain value is absent after parsing.
  • A referenced object is not eligible for the action.

Troubleshooting

  • Inspect field-level validation details.
  • Compare enum, range and format constraints with the contract.
  • Do not resend the same payload without a change.
  • Keep the error body stable enough for clients to map fields.

Example response

HTTP/1.1 422 Unprocessable Content
Content-Type: application/json

{ "code": "validation_failed", "fields": { "amount": "Must be positive" } }

Related status codes

// GET STARTED

Inspect the complete API response.

Use REST Test to send a request and review its status, headers, timing and body together.

Start for free