A parser can accept JSON while the application rejects the meaning of its fields. A 422 commonly communicates that distinction. Use the response's structured errors to identify the invalid instruction: a date range, missing required value or incompatible selection. Repeating an unchanged payload will not fix it, and replacing validation with a generic server error makes the workflow harder to recover.
422 Unprocessable Content
The request's format is understood, but its instructions fail validation or another semantic requirement.
All HTTP status codes
What does HTTP 422 mean?
An investigation example
Illustrative scheduling investigation
Response: 422 Unprocessable Content
Error: end date precedes start date
Action: retain the form values and show the relevant field error.
Verify: a corrected range saves and the original invalid range remains rejected.Common causes
- A syntactically valid form or JSON body fails required-field or value validation.
- An instruction is well-formed but is not meaningful under the application's domain rules.
- A client uses an older field format after an API contract changes.
Diagnose the response
Read the field or operation errors and correct the submitted values while preserving useful feedback for the user.
- Read the field-level errors instead of repeatedly sending the same input. Distinguish validation failures from malformed JSON, which is commonly reported as 400.
- Compare the submitted field names, formats and relationships with the current endpoint contract. Preserve user-entered values so the interface can show corrections without discarding the form.
- If formerly valid requests fail after deployment, inspect changed validation rules and client versions. Keep server-side validation in place while correcting the mismatch.
What it means for website monitoring
Expected validation failures are different from lost availability. Investigate a rise in 422 responses for client-contract changes or a form that no longer submits acceptable values.