>_

4xx Client error

412 Precondition Failed

A condition in the request headers (such as If-Match) was not met.

Used for optimistic concurrency: the client says “update only if the version is still X”, and the server refuses because it changed.

Common causes and fixes

Example response

HTTP/1.1 412 Precondition Failed
Date: Thu, 22 Oct 2026 08:00:00 GMT

Check a URL’s status with curl -I https://example.com, which prints the status line and headers.

Related status codes

Related tools

curl to Code · LLM API Playground · LLM Stream Parser