HTTP 4xx

422 Unprocessable Entity

The request was well-formed but failed validation, for example a missing required field. Common in JSON APIs and Laravel.

4xx Client errorCommonly seen

What causes it

  • Server-side validation rejected the payload.

How to fix it

Read the response body for the validation errors and fix the offending fields.

Example response

A typical raw HTTP response a client receives for a 422, with the headers this code is defined around.

HTTP/1.1 422 Unprocessable Entity
Content-Type: text/html; charset=utf-8

Know before your visitors do.

Sentinel checks your site around the clock from multiple regions and alerts you the moment it starts returning a 4xx error, so you can fix it before it costs you.