Complete reference for all HTTP status codes — click any code to see details.
The server has received the request headers and the client should proceed to send the request body.
The requester has asked the server to switch protocols and the server has agreed to do so.
The server has received and is processing the request, but no response is available yet.
Used to preload resources while the server prepares a response.
Standard response for successful HTTP requests.
The request has been fulfilled and has resulted in a new resource being created.
The request has been accepted for processing, but processing has not been completed.
The response is a representation of the request URI, but with different metadata from the origin server.
The server successfully processed the request, and is not returning any content.
The server successfully processed the request, and the user agent should reset the document view.
The server is delivering only part of the resource (byte serving) due to a range header sent by the client.
The message body contains an XML message and can contain a number of separate response codes.
The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response.
The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance manipulations.
Indicates multiple options for the resource from which the client may choose.
This and all future requests should be directed to the given URI.
Tells the client to look at (browse to) another URL. 302 has been superseded by 303 and 307.
The response to the request can be found under another URI using the GET method.
Indicates that the resource has not been modified since the version specified by the request headers.
In this case, the request should be repeated with another URI; however, future requests should still use the original URI.
This and all future requests should be directed to the given URI. 308 does not allow the HTTP method to change.
The server cannot or will not process the request due to a client error (e.g., malformed request syntax).
Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
Reserved for future use. Intended for digital payment systems.
The request contained valid data and was understood by the server, but the server is refusing action.
The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
A request method is not supported for the requested resource.
The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
The client must first authenticate itself with the proxy.
The server timed out waiting for the request.
Indicates that the request could not be processed because of conflict in the current state of the resource.
Indicates that the resource requested was previously in use but is no longer available and will not be available again.
The request did not specify the length of its content, which is required by the requested resource.
The server does not meet one of the preconditions that the requester put on the request header fields.
The request is larger than the server is willing or able to process.
The URI provided was too long for the server to process.
The request entity has a media type which the server or resource does not support.
The client has asked for a portion of the file, but the server cannot supply that portion.
The server cannot meet the requirements of the Expect request-header field.
Any attempt to brew coffee with a teapot should result in the error code '418 I'm a teapot'.
The request was directed at a server that is not able to produce a response.
The request was well-formed but was unable to be followed due to semantic errors.
The resource that is being accessed is locked.
The request failed because it depended on another request and that request failed.
Indicates that the server is unwilling to risk processing a request that might be replayed.
The client should switch to a different protocol.
The origin server requires the request to be conditional.
The user has sent too many requests in a given amount of time ("rate limiting").
The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.
A server operator has received a legal demand to deny access to a resource or to a set of resources.
A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
The server either does not recognize the request method, or it lacks the ability to fulfil the request.
The server was acting as a gateway or proxy and received an invalid response from the upstream server.
The server cannot handle the request (because it is overloaded or down for maintenance).
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
The server does not support the HTTP version used in the request.
Transparent content negotiation for the request results in a circular reference.
The server is unable to store the representation needed to complete the request.
The server detected an infinite loop while processing the request.
Further extensions to the request are required for the server to fulfil it.
The client needs to authenticate to gain network access.
Complete HTTP status code reference. All 1xx–5xx codes explained with descriptions, use cases, and searchable table. Bookmark this developer cheatsheet.
Complete HTTP status code reference. All 1xx–5xx codes explained with descriptions, use cases, and searchable table. Bookmark this developer cheatsheet.