HTTP 4xx

428 Precondition Required

The server requires the request to be conditional, to prevent lost updates from concurrent edits.

4xx Client error

What causes it

  • A request missing an If-Match or If-Unmodified-Since header.

How to fix it

Send the required precondition header, typically an ETag via If-Match.

Example response

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

HTTP/1.1 428 Precondition Required
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.