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

422 Unprocessable Content (formerly Unprocessable Entity)

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

The server understands the content type and the syntax is correct, but it cannot process the instructions in the request. RFC 4918 called this 422 Unprocessable Entity.

Specification

Registered in the IANA HTTP Status Code Registry as Unprocessable Content. Defined in RFC 9110, Section 15.5.21.

What it means

HTTP 422 Unprocessable Content means the request body is well-formed and in a supported media type, but the server cannot act on what it says. RFC 9110 moved 422 from WebDAV (RFC 4918, where it was Unprocessable Entity) into core HTTP. In APIs, 422 is the common response for field validation errors.

When to use it

Common causes

Where you see it

Headers involved

Client fixes

Server fixes

Examples

Field validation errors with Problem Details

POST /api/bookings HTTP/1.1
Host: api.example.com
Content-Type: application/json

{
  "room": "A2",
  "start": "2026-11-03",
  "end": "2026-11-01",
  "guests": 0
}

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

{
  "type": "https://api.example.com/problems/validation",
  "title": "Booking has invalid fields",
  "status": 422,
  "errors": [
    {
      "pointer": "#/end",
      "detail": "must be after start"
    },
    {
      "pointer": "#/guests",
      "detail": "must be at least 1"
    }
  ]
}

Common mistakes

Developer notes

Older clients and docs say 422 Unprocessable Entity. The code and meaning are the same; only the name changed when RFC 9110 brought 422 into core HTTP.

Questions

What does HTTP 422 mean?

HTTP 422 Unprocessable Content means the request is well-formed and in a supported format, but the server cannot process its contents, usually because of validation errors.

Is 422 Unprocessable Entity the same as 422 Unprocessable Content?

Yes. RFC 9110 renamed it from the WebDAV name Unprocessable Entity. The meaning did not change.

Should validation errors return 400 or 422?

A common rule is 400 for requests that do not parse and 422 for parsed requests whose values fail validation. Either works if the whole API follows the same rule.

See also

See the semantic-validation response example or work through 409 versus 422 for a duplicate email.

Header and content rules

RFC 9110 adds no header or content rule specific to 422. The 4xx class rules also apply. See 422 in the response obligations table.

Related comparisons

Related API error guide

Use RFC 9457 Problem Details to add a standard application/problem+json body without changing the meaning of HTTP 422.

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


HTTP status code lookup
REST API status code chooser
cURL command generator
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia