HTTP

428 Precondition Required

The server requires the request to be conditional (e.g., include If-Match header) to prevent lost updates.

When You See This Code

When an API requires optimistic concurrency control via ETags.

How to Fix

Fetch the resource first to get its ETag, then include If-Match in your update request.

Specification

View RFC / Specification →

Guides

Glossary