HTTP Status Codes
Complete reference of HTTP response status codes.
Showing 62 status codes
Continue
The server has received the request headers and the client should proceed to send the request body.
Switching Protocols
The server is switching protocols as requested by the client.
Processing
The server has received and is processing the request, but no response is available yet.
Early Hints
Used to return some response headers before final HTTP message.
OK
The request has succeeded. The meaning depends on the HTTP method used.
Created
The request has succeeded and a new resource has been created.
Accepted
The request has been received but not yet acted upon.
Non-Authoritative Information
The returned metadata is from a local or third-party copy.
No Content
The server successfully processed the request but returns no content.
Reset Content
The server processed the request and asks the client to reset the document view.
Partial Content
The server is delivering only part of the resource due to a range header.
Multi-Status
Conveys information about multiple resources in situations where multiple status codes might be appropriate.
Already Reported
Used inside a DAV: propstat response element to avoid enumerating internal members repeatedly.
IM Used
The server has fulfilled a GET request for the resource with instance manipulations applied.
Multiple Choices
The request has multiple possible responses. The user should choose one.
Moved Permanently
The URL of the requested resource has been changed permanently.
Found
The URI of the requested resource has been changed temporarily.
See Other
The server sent this response to direct the client to get the resource at another URI with a GET request.
Not Modified
Indicates that the resource has not been modified since the version specified in the request headers.
Use Proxy
The requested resource must be accessed through a proxy. Deprecated.
Temporary Redirect
The server sends this response to direct the client to get the resource at another URI with the same method.
Permanent Redirect
The resource is now permanently located at another URI, specified in the Location header.
Bad Request
The server cannot process the request due to client error (malformed syntax, invalid request).
Unauthorized
Authentication is required and has failed or has not been provided.
Payment Required
Reserved for future use. Originally intended for digital payment systems.
Forbidden
The client does not have access rights to the content.
Not Found
The server cannot find the requested resource.
Method Not Allowed
The request method is known by the server but not supported by the target resource.
Not Acceptable
The server cannot produce a response matching the list of acceptable values.
Proxy Authentication Required
The client must first authenticate itself with the proxy.
Request Timeout
The server timed out waiting for the request.
Conflict
The request conflicts with the current state of the server.
Gone
The content has been permanently deleted from the server.
Length Required
The server requires the Content-Length header field in the request.
Precondition Failed
The server does not meet one of the preconditions specified in the request headers.
Payload Too Large
The request entity is larger than limits defined by the server.
URI Too Long
The URI requested by the client is longer than the server is willing to interpret.
Unsupported Media Type
The media format of the requested data is not supported by the server.
Range Not Satisfiable
The range specified in the Range header cannot be fulfilled.
Expectation Failed
The expectation indicated in the Expect header cannot be met by the server.
I'm a Teapot
The server refuses to brew coffee because it is a teapot. (April Fools joke from 1998)
Misdirected Request
The request was directed at a server that is not able to produce a response.
Unprocessable Entity
The request was well-formed but contains semantic errors.
Locked
The resource that is being accessed is locked.
Failed Dependency
The request failed due to failure of a previous request.
Too Early
The server is unwilling to risk processing a request that might be replayed.
Upgrade Required
The server refuses to perform the request using the current protocol.
Precondition Required
The origin server requires the request to be conditional.
Too Many Requests
The user has sent too many requests in a given amount of time (rate limiting).
Request Header Fields Too Large
The server refuses to process the request because its headers are too large.
Unavailable For Legal Reasons
The server is denying access to the resource as a consequence of a legal demand.
Internal Server Error
The server has encountered a situation it does not know how to handle.
Not Implemented
The request method is not supported by the server and cannot be handled.
Bad Gateway
The server, while acting as a gateway or proxy, received an invalid response.
Service Unavailable
The server is not ready to handle the request. Common causes are maintenance or overload.
Gateway Timeout
The server, while acting as a gateway or proxy, did not receive a timely response.
HTTP Version Not Supported
The HTTP version used in the request is not supported by the server.
Variant Also Negotiates
The server has an internal configuration error.
Insufficient Storage
The server is unable to store the representation needed to complete the request.
Loop Detected
The server detected an infinite loop while processing the request.
Not Extended
Further extensions to the request are required for the server to fulfill it.
Network Authentication Required
The client needs to authenticate to gain network access.
Quick Reference
About HTTP Status Codes
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped into five classes: informational, successful, redirects, client errors, and server errors.
Common Status Codes
- 200 OK - The request succeeded
- 201 Created - A new resource was created
- 301 Moved Permanently - URL has changed permanently
- 400 Bad Request - Invalid request syntax
- 401 Unauthorized - Authentication required
- 403 Forbidden - Access denied
- 404 Not Found - Resource doesn't exist
- 500 Internal Server Error - Server-side error