Graph
HTTP 404

🛑HTTP 404

NEW

Also known as: 404 Not Found

An HTTP response status indicating the server cannot find the requested resource.

DESCRIPTION

HTTP 404 Not Found signals that the server lacks a current representation of the target resource. It commonly occurs with broken links, mistyped URLs, or deleted content. Unlike 410 Gone, 404 does not assert permanent removal. Best practice includes meaningful error pages, logging for troubleshooting, and redirection when appropriate. APIs should return structured error payloads to guide clients. SEO considerations encourage proper redirects to avoid link rot and improve user experience.

ALTERNATIVE DEFINITIONS

MDN Web Docs

The HTTP 404 Not Found response status code indicates that the server can’t find the requested resource.

Clear, concise developer-oriented definition of the status code.

Source

IETF 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.

Authoritative standard emphasizing both nonexistence and nondisclosure cases.

Source

HTTP 403 Forbidden HTTP 500 Internal Server Error REST API Uniform Resource Identifier Hypertext Transfer Protocol Client Error Web Server Routing

COMPETING TERMS

HTTP 410 Gone HTTP 200 OK

KNOWLEDGE AREAS

Software Engineering Data Integration & Interoperability Platform & Tooling

TARGET AUDIENCE

Software Developer Data Engineer DevOps Engineer Cloud Architect Data Architect

EXTERNAL SOURCES

TOP QUESTIONS

What does HTTP 404 indicate for APIs and websites?

It indicates the server can’t find the requested resource at the given URI. The path may be incorrect, the resource removed, or unavailable to disclose.

Category: Definition

How does HTTP 404 differ from HTTP 410 Gone?

404 means not found without asserting permanence. 410 indicates the resource is permanently gone and should not be expected to return.

Category: Misunderstanding

What are common causes of HTTP 404?

Broken links, outdated bookmarks, mistyped URLs, moved content without redirects, or incorrect API routes commonly trigger 404 responses.

Category: Mistakes

How should developers handle HTTP 404 responses?

Provide helpful error pages or structured JSON errors, log incidents, consider redirects, and maintain proper routing and documentation.

Category: Best practices

Is HTTP 404 a client or server error?

It’s a client error status (4xx), though servers often contribute via misconfiguration or missing content.

Category: Definition

What are the SEO implications of frequent HTTP 404?

Excessive 404s hurt user experience and crawl efficiency; use redirects, sitemaps, and link maintenance to minimize impact.

Category: Risk

How can APIs make HTTP 404 helpful?

Include error codes, messages, and remediation tips in the payload, and align with API contracts for predictable client handling.

Category: Requirements

When should HTTP 404 be used versus 403?

Use 404 when the resource doesn’t exist; use 403 Forbidden when it exists but the client lacks permission.

Category: Alternatives

What monitoring practices help with HTTP 404?

Track 404 rates, top paths, referrers, and patterns via logs and analytics to identify broken links and routing issues.

Category: Management