412 Precondition Failed

HTTP 412 Precondition Failed: the IANA registry entry, its reference and class.

Updated

HTTP 412 Precondition Failed is a registered status code in the 4xx Client Error class.

IANA registration

Field Value
Code 412
Description, as registered Precondition Failed
Reference RFC 9110, Section 15.5.13
Class 4xx Client Error

Source: IANA Hypertext Transfer Protocol (HTTP) Status Code Registry, as downloaded on December 5, 2026. The registry changes over time; the linked page is the authority.

The 4xx class

The first digit of a status code gives its class. A 4xx (Client Error) code means the request contains bad syntax or cannot be fulfilled. A client that does not recognize a particular code can treat it as the x00 code of its class. The classes are defined in RFC 9110, Section 15.