HTTP Status Codes / 4xx HTTP Status Codes / HTTP 422

422 Unprocessable Entity (WebDAV; RFC 4918)

This is an educational reference page about HTTP 422 Unprocessable Entity. The page itself is served as 200 OK so it can be indexed as HTTP documentation.

The request was well-formed but was unable to be followed due to semantic errors.

What it means

HTTP 422 Unprocessable Entity means the request syntax is valid, but the instructions cannot be processed because of semantic validation errors.

Common causes

Where you see it

Headers involved

How to fix it

Client fixes

Server fixes

Example response

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

{"errors":{"email":["is already taken"]}}

Developer notes

422 is common in APIs and WebDAV. It is most useful when the client can change the submitted values and retry.

Questions

What does HTTP 422 mean?

HTTP 422 means the server understood the request format, but validation or business rules prevented processing.

What is the difference between 400 and 422?

Use 400 for malformed requests. Use 422 when the request is well-formed but semantically invalid.

Related comparisons

4xx client error – the request contains bad syntax or cannot be fulfilled


HTTP status code lookup
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia