Technology · Tool #060

HTTP Status Code Lookup

Browse HTTP response status codes and their meanings, or search by code or keyword.

Reserved ad space · responsive display

HTTP status codes and meanings

Browse standard HTTP status codes by response class, or search for a code, phrase or meaning. Some codes are specialised, deprecated or reserved.

HTTP status codeMeaning
1xx — Informational
100 ContinueThe server received the request headers; the client may continue sending the request body.
101 Switching ProtocolsThe server is switching protocols as requested by the client.
102 ProcessingThe server is processing the request but has not finished.
103 Early HintsProvides early hints so the client can preload resources before the final response.
2xx — Success
200 OKThe request succeeded.
201 CreatedThe request succeeded and a new resource was created.
202 AcceptedThe request was accepted for processing, but processing may not be complete.
203 Non-Authoritative InformationThe returned metadata was modified by an intermediary.
204 No ContentThe request succeeded and there is no response body.
205 Reset ContentThe request succeeded; the client should reset its document view.
206 Partial ContentThe server is returning only the requested part of a resource.
207 Multi-StatusThe response contains multiple status results, commonly used with WebDAV.
208 Already ReportedMembers of a WebDAV binding have already been reported.
226 IM UsedThe server applied instance manipulations to the returned representation.
3xx — Redirection
300 Multiple ChoicesThere are multiple possible representations or destinations for the resource.
301 Moved PermanentlyThe resource has moved permanently to a new URL.
302 FoundThe resource is temporarily available at another URL.
303 See OtherThe client should retrieve another resource using GET.
304 Not ModifiedThe cached representation is still valid; no response body is needed.
305 Use ProxyDeprecated status indicating that a proxy should be used.
307 Temporary RedirectThe resource is temporarily at another URL; preserve the request method.
308 Permanent RedirectThe resource has moved permanently; preserve the request method.
4xx — Client Error
400 Bad RequestThe server cannot process the request because of invalid syntax or another client-side issue.
401 UnauthorizedAuthentication is required or the supplied credentials are invalid.
402 Payment RequiredReserved for future payment-related use; no standard general-purpose behaviour.
403 ForbiddenThe server understood the request but refuses to authorise it.
404 Not FoundThe requested resource was not found.
405 Method Not AllowedThe HTTP method is not supported for this resource.
406 Not AcceptableThe server cannot produce a representation matching the requested content preferences.
407 Proxy Authentication RequiredThe client must authenticate with a proxy.
408 Request TimeoutThe server timed out waiting for the complete request.
409 ConflictThe request conflicts with the current state of the resource.
410 GoneThe resource is no longer available and the condition is likely permanent.
411 Length RequiredThe server requires a Content-Length header.
412 Precondition FailedA request precondition evaluated to false.
413 Content Too LargeThe request content is larger than the server permits.
414 URI Too LongThe request URI is longer than the server will accept.
415 Unsupported Media TypeThe server does not support the request content format.
416 Range Not SatisfiableThe requested byte range cannot be satisfied.
417 Expectation FailedThe server cannot meet the Expect request header requirements.
418 I'm a TeapotA humorous status defined for a teapot; not a normal application error.
421 Misdirected RequestThe request was sent to a server unable to provide an authoritative response.
422 Unprocessable ContentThe request format is valid but its instructions cannot be processed.
423 LockedThe resource is locked, commonly in WebDAV.
424 Failed DependencyThe request failed because a dependent action failed.
425 Too EarlyThe server will not process a request that may be replayed too early.
426 Upgrade RequiredThe server requires the client to switch to a different protocol.
428 Precondition RequiredThe server requires the request to be conditional.
429 Too Many RequestsToo many requests were sent in a given period; retry later if appropriate.
431 Request Header Fields Too LargeThe request header fields are too large.
451 Unavailable For Legal ReasonsAccess is denied for legal reasons.
5xx — Server Error
500 Internal Server ErrorThe server encountered an unexpected condition and could not complete the request.
501 Not ImplementedThe server does not support the functionality required for the request.
502 Bad GatewayA gateway or proxy received an invalid response from an upstream server.
503 Service UnavailableThe server is temporarily unable to handle the request.
504 Gateway TimeoutA gateway or proxy did not receive a timely upstream response.
505 HTTP Version Not SupportedThe server does not support the HTTP protocol version used.
506 Variant Also NegotiatesA content negotiation configuration error occurred on the server.
507 Insufficient StorageThe server lacks the storage needed to complete the request.
508 Loop DetectedThe server detected an infinite loop while processing the request.
510 Not ExtendedFurther extensions to the request are required to fulfil it.
511 Network Authentication RequiredNetwork authentication is required to gain network access.

More Information

How to use this HTTP status code reference

Browse the five response categories or type a number, name or keyword into the search field. For example, search 404 to find Not Found, redirect to compare redirect responses, or gateway to find common proxy errors. The table describes the general meaning of each status; no calculation or server request is performed.

Understanding HTTP response categories

1xx Informational responses indicate that request processing is continuing. 2xx Success means the request was handled successfully. 3xx Redirection generally directs a client to another location or indicates that a cached response remains valid. 4xx Client Error indicates that the request cannot be fulfilled as submitted, while 5xx Server Error indicates that the server or an intermediary could not complete a seemingly valid request.

Common codes in practice

200 OK is a successful response; 201 Created indicates a new resource was created; and 204 No Content indicates success without a response body. 301 and 308 are permanent redirects, whereas 302 and 307 are temporary. 404 Not Found means the target resource was not found, and 429 Too Many Requests commonly indicates rate limiting.

Troubleshooting HTTP errors

Read the status together with the request URL, HTTP method, response headers and application or proxy logs. A 401 Unauthorized response generally points to missing or invalid authentication; 403 Forbidden means access is refused. A 502 Bad Gateway often points to an invalid upstream response, while 504 Gateway Timeout means an intermediary waited too long for an upstream server. A 503 Service Unavailable response may indicate temporary overload or maintenance.

Important limitations

HTTP status codes describe the outcome of a request, not necessarily the underlying cause. A CDN, reverse proxy, API gateway or origin server may generate the response. Some codes are uncommon, deprecated, reserved or specific to extensions such as WebDAV. The reference is a general guide; consult the service's API documentation and response body for application-specific details.

Frequently asked questions

Does a 404 mean the website is down? Not necessarily. The website may be healthy while one URL does not exist. Is a 500 error always caused by the browser? No. A 500 response generally indicates an unexpected server-side condition, although the request and server logs are needed to identify the cause.

Reserved ad space · content placement