lightmy.day

Client error

HTTP 412: Precondition Failed

HTTP 412 means a request precondition failed.

Meaning

The server rejected the request because a conditional header did not match.

Common causes

If-Match, If-Unmodified-Since, or similar precondition headers can fail.

What to check

Refresh the resource state and resend the request with the correct conditional header.

Example response

HTTP/1.1 412 Precondition Failed

References

Related HTTP status codes

Nearby codes often answer the next debugging question.