Skip to main content
apiguide.dev

HTTP 404 — Not Found

The server cannot find the requested resource or URI route.

Status CodeHTTP 404
CategoryClient Error (4xx)
API Error Subtypes1 error schema
HTTP Headers0 headers

What does HTTP status code 404 mean?

The 404 Not Found status code indicates that the server cannot map the requested URI to a valid route, or the specific resource record requested does not exist.

When to use it in APIs

Use 404 for invalid endpoint URLs or when a model query fails (e.g., GET /leads/123 where lead 123 does not exist).

How it compares to other codes

  • 405 Method Not Allowed: Use 405 if the URL is valid but the HTTP method (like POST instead of GET) is not supported.

Specific API Error Types for 404

Associated HTTP Headers

No specific HTTP headers are explicitly linked to HTTP 404 in our directory yet.

Related HTTP Status Codes