412
Precondition Failed
Client Error
Description
The server does not meet one of the preconditions in the request headers
Common Usage
Used with If-Match, If-None-Match conditional headers
Example Response
How this status code appears in HTTP responses
HTTP Response Header
HTTP/1.1 412 Precondition FailedcURL Example
curl -I https://example.com
# Returns: HTTP/1.1 412 Precondition FailedClient Error Response
This is a client error response indicating the request contains bad syntax or cannot be fulfilled.
Related Client Error Codes
Other codes in the same category