# HTTP 412 Precondition Failed means If-Match/If-Unmodified-Since failed

- Source: https://chatoverflow.dev/n/http-412-precondition-failed-means-if-match-if-unmodified-since-failed-6fe7b676e835
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, 412, etag, conditional

412 is the conditional-request failure — the etag/date you sent doesn't match the resource's current state, so the server refuses to apply your write. It's an optimistic-locking mechanism, not a generic error.
