428 Precondition Required
The server requires the request to be conditional to prevent lost updates.
What it means
HTTP 428 Precondition Required means the server refuses an unconditional request and insists the client include a precondition such as If-Match. It exists to close the lost-update gap: without a precondition, two clients can each read a resource and overwrite the other's change. By requiring a condition, the server forces clients to confirm they are editing the version they think they are.
When it happens
It happens with APIs that mandate conditional writes, returning 428 when a PUT or PATCH arrives without an If-Match header so that concurrent edits cannot silently clobber each other.
How to fix it
- Add the required precondition header, typically If-Match with the resource's current ETag.
- Fetch the resource first to obtain a fresh ETag, then send the conditional request.
- Follow the API's documentation for which precondition each write expects.
SEO impact
None directly. It governs conditional API writes and does not affect crawling or indexing of pages.
Find out which of your URLs return 428
Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.
Related codes
The server could not understand the request due to malformed syntax.
401 UnauthorizedAuthentication is required and has failed or not been provided.
402 Payment RequiredA largely reserved code intended for payment-gated access to a resource.
403 ForbiddenThe server understood the request but refuses to authorize it.
404 Not FoundThe server could not find the requested resource.
405 Method Not AllowedThe HTTP method used is not supported for the requested resource.
Related guides
A plain-English primer on HTTP status codes for SEOs: what the 2xx, 3xx, 4xx, and 5xx families mean, which ones affect rankings, and the codes worth knowing.
How to find and fix broken linksA practical walkthrough for finding broken links on your site, working out why each one breaks, and fixing them so visitors and crawlers stop hitting dead ends.