The HTTP 404 (Not Found) status code means that the origin server did not find a current representation for the target resource, or that it is not willing to disclose that one exists, according to RFC 9110, the IETF standard that defines HTTP semantics. In the words of Section 15.5.5 of RFC 9110, "The 404 (Not Found) status code indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists."
Where 404 fits among status codes
The Internet Assigned Numbers Authority (IANA) registry of HTTP status codes lists 404 as Not Found and points to RFC 9110, Section 15.5.5, as its definition. The same registry describes the 4xx range as client errors, with the note that "The request contains bad syntax or cannot be fulfilled". RFC 9110 says the 4xx class indicates that the client seems to have erred, and that these status codes apply to any request method.
| Code | Name | Defined in |
|---|---|---|
| 403 | Forbidden | RFC 9110, Section 15.5.4 |
| 404 | Not Found | RFC 9110, Section 15.5.5 |
| 410 | Gone | RFC 9110, Section 15.5.11 |