HTTP Status Codes Reference

Complete reference of all HTTP response status codes from 1xx to 5xx. Search by code number or description, filter by category, and see common use cases for each status code.

Showing 61 of 61 status codes

Frequently Asked Questions

What are HTTP status codes?

HTTP status codes are three-digit numbers returned by a web server in response to a client request. They indicate whether the request was successful, redirected, resulted in a client error, or caused a server error. Status codes are grouped into five classes: 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Client Error), and 5xx (Server Error).

What does HTTP 404 mean?

HTTP 404 (Not Found) means the server cannot find the requested resource. The URL is not recognised. This is the most common error on the web, typically caused by broken links, typos in URLs, or deleted pages.

What is the difference between 401 and 403?

HTTP 401 (Unauthorized) means the request requires authentication — the client has not provided valid credentials. HTTP 403 (Forbidden) means the server understood the request but refuses to authorize it — the client is authenticated but lacks the necessary permissions. Re-authenticating will fix a 401 but not a 403.

What does HTTP 500 Internal Server Error mean?

HTTP 500 is a generic catch-all error indicating the server encountered an unexpected condition that prevented it from fulfilling the request. Common causes include unhandled exceptions in application code, database connection failures, and misconfigured servers.

When should I use 301 vs 302 redirect?

Use 301 (Moved Permanently) when a resource has permanently moved to a new URL — search engines will transfer link equity to the new URL. Use 302 (Found) for temporary redirects where the original URL will be valid again in the future, such as during maintenance. For POST requests, prefer 303 (See Other) or 307 (Temporary Redirect) to control whether the method changes.

What does HTTP 429 Too Many Requests mean?

HTTP 429 means the user or client has sent too many requests in a given time period (rate limiting). The server may include a Retry-After header indicating how long to wait before making new requests. Common in APIs, DDoS protection, and login throttling.