HTTP status code · RFC 9110, section 15.5.21
422 Unprocessable Content
422 Unprocessable Content means the server understood the request and its format, but the data in it isn't valid.
What 422 means
The body parsed fine (valid JSON, the right content type) but failed validation: a missing field, an email that isn't an email, a date in the past. Many APIs (Rails, Laravel, FastAPI) return 422 for validation errors and list the problems in the response. RFC 9110 renamed it from "Unprocessable Entity".
Common causes
- A required field missing or empty.
- A value of the wrong type or format.
- A business rule the data breaks, such as a duplicate username.
How to fix 422
- Read the response body: validation errors usually name the field.
- As the API owner, return the same error shape for every validation failure so clients can show it.
How Uptenna treats 422
With the default expected status (200-399), a 422 counts as a failed check. Two failures in a row open an incident, and the alert says Got HTTP 422 (expected 2xx or 3xx). The first successful check resolves it and sends a recovery. A health check endpoint shouldn't need a body at all; if it returns 422, check the method and any required query parameters.
See Monitors for expected status codes, keywords and timeouts.
Frequently asked questions
What does HTTP 422 mean?
422 Unprocessable Content means the server understood the request and its format, but the data in it isn't valid.
Is 422 an error?
Yes, 422 is a client error: the server is saying something about the request needs to change.
Does an uptime monitor treat 422 as down?
By default, yes: Uptenna counts anything outside 200-399 as a failed check and opens an incident after two failures in a row. You can change the expected status per monitor.
Related status codes
- 400Bad RequestMeans the server won't process the request because something about it is malformed or invalid.monitor: down
- 405Method Not AllowedMeans the URL exists but doesn't accept this HTTP method, such as a POST to a read-only page.monitor: down
- 429Too Many RequestsMeans the client sent too many requests in a given time and is being rate limited.monitor: down
Find out the moment your site returns 422
Uptime checks from 3 regions, cron job heartbeats and a status page your users can subscribe to.
- No card required
- 5 monitors free, forever