HTTP Status Codes Reference

1xx Informational

CodeNameMeaning/When it's used
100ContinueThe initial request has been received and is being processed.
101Switching ProtocolsThe server is switching protocols to match the ones specified in the request.
102ProcessingThe server has received and is processing the request, but no response is available yet.
103Early HintsThe server is providing a hint about the response to come.

2xx Success

CodeNameMeaning/When it's used
200OKThe request has succeeded.
201CreatedThe request has been fulfilled and a new resource has been created.
202AcceptedThe request has been accepted for processing, but the processing has not been completed.
203Non-Authoritative InformationThe returned metainformation is not exactly the same as is available from the origin server, but is collected from a local or a third-party copy.
204No ContentThe server successfully processed the request, but is not returning any content.
205Reset ContentThe server successfully processed the request, but is not returning any content. Unlike a 204 response, this response requires that the requester reset the document view.
206Partial ContentThe server is successfully processing a range request for the requested resource.
207MultistatusA multi-status response conveys information about multiple resources in situations where multiple status codes might be appropriate.
208Already ReportedThe members of a DAV binding have already been enumerated in a preceding part of the response, and are not being included again.
226IM UsedThe server has fulfilled a request for a resource expansion provided by a server.

3xx Redirection

CodeNameMeaning/When it's used
300Multiple ChoicesA link has been provided to multiple resources corresponding to the requested resource.
301Moved PermanentlyThis and all future requests should be directed to the given URI.
302FoundThis response code means that the URI of the requested resource has been changed temporarily.
303See OtherThe response to the request can be found under a different URI using a GET method.
304Not ModifiedThe resource has not been modified since the last request.
305Use ProxyThe requested resource must be accessed through the proxy given by the Location field.
307Temporary RedirectThis response code means that the URI of the requested resource has been changed temporarily.
308Permanent RedirectThis response code means that the URI of the requested resource has been changed permanently.

4xx Client Error

CodeNameMeaning/When it's used
400Bad RequestThe server could not understand the request due to invalid syntax.
401UnauthorizedThe client must authenticate itself to get the requested response.
402Payment RequiredThis code is reserved for future use.
403ForbiddenThe client does not have access rights to the content, so the server is refusing to fulfill the request.
404Not FoundThe server can not find the requested resource.
405Method Not AllowedThe request method is known by the server but is not supported by the target resource.
406Not AcceptableThe target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
407Proxy Authentication RequiredThe client must first authenticate itself with the proxy.
408Request TimeoutThe server timed out waiting for the request.
409ConflictThe request could not be completed due to a conflict with the current state of the resource.
410GoneThe requested resource is no longer available at the server and no forwarding address is known.
411Length RequiredThe server refuses to accept the request without a defined Content-Length.
412Precondition FailedThe precondition given in one or more of the request header fields evaluated to false when it was tested on the server.
413Request Entity Too LargeThe server is refusing to process a request because the request entity is larger than the server is willing or able to process.
414Request-URI Too LongThe server is refusing to service the request because the request-target is longer than the server is willing to accept.
415Unsupported Media TypeThe server is refusing to service the request because the payload is in a format not supported by the requested resource for the requested method.
416Requested Range Not SatisfiableThe client has asked for a portion of the resource, but the server cannot supply that portion.
417Expectation FailedThe server cannot meet the requirements specified in the Expect request-header field.
418I'm a teapotThe server refuses to brew coffee because it is a teapot.
421Misdirected RequestThe request was directed at a server that is not able to produce a response for the target resource with sufficient precision.
422Unprocessable EntityThe request was well-formed but was unable to be followed due to semantic errors.
423LockedThe target resource is currently checked out and therefore cannot be modified.
424Failed DependencyThe request failed due to failure of a previous request.
425Too EarlyThe server is unwilling to risk processing a request that might be replayed.
426Upgrade RequiredThe client should switch to a different protocol such as TLS/1.3, given in the Upgrade header field.
428Precondition RequiredThe origin server requires the request to be conditional.
429Too Many RequestsThe user has sent too many requests in a given amount of time ("rate limiting").
431Request Header Fields Too LargeThe server is unwilling to process the request because its header fields are too large.
451Unavailable For Legal ReasonsA server operator has received a legal demand to deny access to a resource or to a set of resources.

5xx Server Error

CodeNameMeaning/When it's used
500Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request.
501Not ImplementedThe server does not support the functionality required to fulfill the request.
502Bad GatewayThe server, while acting as a gateway or proxy, received an invalid response from the upstream server.
503Service UnavailableThe server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
504Gateway TimeoutThe server, while acting as a gateway or proxy, did not receive a timely response from the upstream server.
505HTTP Version Not SupportedThe server does not support, or refuses to support, the HTTP protocol version that was used in the request message.
506Varying ResultsThe server is unable to store the representation needed to complete the request.
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.
510Not ExtendedThe server refuses to apply the request policy on the resource it is handling.
511Network Authentication RequiredThe client needs to authenticate to gain network access.