Zest.
4xx · Client error

HTTP 422 Unprocessable Content

The body is well formed but its content fails validation. Common in REST APIs.

Common causes and fixes

  • The response usually lists which fields are invalid.

Example response

HTTP
HTTP/1.1 422 Unprocessable Content
Content-Type: application/json; charset=utf-8

{ "error": "Unprocessable Content" }

Look up the headers shown here in the HTTP headers reference.

Common questions

What does HTTP 422 mean?
Unprocessable Content. The body is well formed but its content fails validation. Common in REST APIs.
How do I fix a 422 error?
The response usually lists which fields are invalid.
Is 422 an error?
Yes. 4xx codes are client errors: The request contains a mistake or can't be fulfilled as sent.

Other 4xx codes