HTTP 428 Precondition Required

The server requires the request to be conditional.

Updated

428
Precondition Required
4xx Client error
Class
RFC 6585
Defined in

What does HTTP 428 mean?

The server requires the request to be conditional. An API can insist on If-Match for updates to prevent the “lost update” problem — clients must prove they saw the latest version before changing it.

4xx Client error: The request has a problem the client can fix: wrong URL, missing credentials, bad data or too many requests.

How to fix 428 Precondition Required

  • Send the latest ETag in If-Match.

428 and SEO

Not relevant for web pages.

Example response

HTTP/1.1 428 Precondition Required

Related status codes

  • 412 Precondition Failed — A condition in the request headers (If-Match, If-Unmodified-Since) was not met.
  • 409 Conflict — The request conflicts with the current state of the resource.

Check which status code a URL returns with the HTTP header checker.

All HTTP status codesSearch the full list of status codes from 100 to 599 with their meanings and SEO impact.
Open the full list

Frequently asked questions

What does status code 428 mean?
428 Precondition Required: The server requires the request to be conditional.
How do I fix a 428 error?
Send the latest ETag in If-Match.
Does 428 affect SEO?
Not relevant for web pages.