4xx Client Error
HTTP 404 Not Found
The server cannot find the requested resource. This is the most well-known HTTP error. The URL may be mistyped, the resource may have been deleted, or it may have never existed.
Common Causes
- Mistyped URL or broken link
- Resource has been deleted or moved without a redirect
- API endpoint does not exist or has been deprecated
- Case-sensitive URL mismatch on the server
How to Fix
- 1Double-check the URL for typos
- 2Use the site's search or sitemap to find the correct page
- 3Set up 301 redirects for moved or renamed resources
- 4Return a helpful 404 page with navigation links
Example
HTTP 404 Not Found
GET /blog/nonexistent-post HTTP/1.1 → 404 Not Found → The page you're looking for doesn't exist.
Related Client Error Codes
400
Bad Request
401Unauthorized
402Payment Required
403Forbidden
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Content Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed
418I'm a Teapot
421Misdirected Request
422Unprocessable Content
423Locked
424Failed Dependency
425Too Early
426Upgrade Required
428Precondition Required
429Too Many Requests
431Request Header Fields Too Large
451Unavailable For Legal Reasons