HTTP Status Codes / 5xx HTTP Status Codes

5xx HTTP Status Codes

5xx status codes are server error responses.

This is an educational guide. The pages linked here are documentation pages served as 200 OK, even when the HTTP status code being explained is an error response.

What 5xx means

Server error responses mean the request may be valid, but the server, gateway, or upstream dependency failed while trying to handle it.

Where 5xx responses appear

Implementation notes

All 5xx status codes

CodeNameMeaning
500Internal Server ErrorA generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
501Not ImplementedThe server either does not recognize the request method, or it lacks the ability to fulfill the request. Usually this implies future availability (e.g., a new feature of a web-service API).
502Bad GatewayThe server was acting as a gateway or proxy and received an invalid response from the upstream server.
503Service UnavailableThe server cannot handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state.
504Gateway TimeoutThe server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
505HTTP Version Not SupportedThe server does not support the HTTP protocol version used in the request.
506Variant Also NegotiatesTransparent content negotiation for the request results in a circular reference.
507Insufficient StorageThe server is unable to store the representation needed to complete the request.
508Loop DetectedThe server detected an infinite loop while processing the request (sent instead of 208 Already Reported).
509Bandwidth Limit ExceededThe server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers.
510Not ExtendedFurther extensions to the request are required for the server to fulfill it.
511Network Authentication RequiredThe client needs to authenticate to gain network access. Intended for use by intercepting proxies used to control access to the network (e.g., "captive portals" used to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).
529Site is overloadedUsed by Qualys in the SSLLabs server testing API to signal that the site can't process the request.
530Site is frozenUsed by the Pantheon web platform to indicate a site that has been frozen due to inactivity.
598Network read timeout errorUsed by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy.
599Network Connect Timeout ErrorAn error used by some HTTP proxies to signal a network connect timeout behind the proxy to a client in front of the proxy.

HTTP status code lookup
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia