HTTP Status Codes Reference
Complete reference guide for HTTP status codes. Search by code number or description to find what you need.
1xx Informational
- Request received, continuing processContinue
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 via the Upgrade header.
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.
2xx Success
- Request successfully received, understood, and acceptedOK
The request has succeeded. The meaning depends on the HTTP method used.
Created
The request has been fulfilled and a new resource has been created.
Accepted
The request has been accepted for processing, but processing has not been completed.
Non-Authoritative Information
The returned metadata is not exactly the same as from the origin server.
No Content
The server successfully processed the request but returns no content.
Reset Content
The server processed the request and the client should reset the document view.
Partial Content
The server is delivering only part of the resource due to a range header sent by the client.
Multi-Status
Conveys information about multiple resources where multiple status codes might be appropriate.
Already Reported
Used inside a DAV: propstat response to avoid enumerating internal members multiple times.
IM Used
The server has fulfilled a GET request and the response represents one or more instance-manipulations.
3xx Redirection
- Further action needs to be taken to complete the requestMultiple Choices
The request has more than one possible response and the user should choose one.
Moved Permanently
The requested resource has been permanently moved to a new URL.
Found
The requested resource temporarily resides at a different URL.
See Other
The response can be found at a different URL using GET method.
Not Modified
The resource has not been modified since the last request.
Use Proxy
The requested resource must be accessed through a proxy (deprecated).
Temporary Redirect
The request should be repeated with the same method at another URL.
Permanent Redirect
The resource has permanently moved and the request method should not change.
4xx Client Error
- The request contains bad syntax or cannot be fulfilledBad 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 server understood the request but refuses to authorize it.
Not Found
The requested resource could not be found on the server.
Method Not Allowed
The HTTP method used is not supported for the requested resource.
Not Acceptable
The server cannot produce a response matching the Accept headers sent.
Proxy Authentication Required
The client must first authenticate with the proxy.
Request Timeout
The server timed out waiting for the request.
Conflict
The request conflicts with the current state of the resource.
Gone
The resource is no longer available and will not be available again.
Length Required
The request did not specify the length of its content as required.
Precondition Failed
One or more conditions in the request headers evaluated to false.
Payload Too Large
The request entity is larger than limits defined by server.
URI Too Long
The URI requested by the client is longer than the server can interpret.
Unsupported Media Type
The media format of the requested data is not supported by the server.
Range Not Satisfiable
The range specified by the Range header cannot be fulfilled.
Expectation Failed
The server cannot meet the requirements of the Expect request header.
I'm a Teapot
The server refuses to brew coffee because it is a teapot (April Fools' joke, RFC 2324).
Misdirected Request
The request was directed at a server that cannot produce a response.
Unprocessable Entity
The request was well-formed but semantically incorrect.
Locked
The resource being accessed is locked.
Failed Dependency
The request failed because it depended on another request that failed.
Too Early
The server is unwilling to process a request that might be replayed.
Upgrade Required
The client should switch to a different protocol.
Precondition Required
The 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 headers are too large.
Unavailable For Legal Reasons
The resource is unavailable due to legal demands (censorship, court order).
5xx Server Error
- The server failed to fulfill a valid requestInternal Server Error
A generic error message when an unexpected condition was encountered.
Not Implemented
The server does not support the functionality required to fulfill the request.
Bad Gateway
The server acting as a gateway received an invalid response from upstream.
Service Unavailable
The server is not ready to handle the request (maintenance, overloaded).
Gateway Timeout
The server acting as a gateway did not receive a timely response from upstream.
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 during content negotiation.
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.
What are HTTP Status Codes?
HTTP status codes are three-digit numbers returned by web servers to indicate the result of a client's request. They help developers understand what happened when a request was made.
Status Code Categories
- 1xx (Informational) - Request received, continuing process
- 2xx (Success) - Request successfully received and accepted
- 3xx (Redirection) - Further action needed to complete request
- 4xx (Client Error) - Request contains bad syntax or cannot be fulfilled
- 5xx (Server Error) - Server failed to fulfill valid request
Most Common Status Codes
The most frequently encountered status codes are 200 (OK), 301 (Moved Permanently), 404 (Not Found), and 500 (Internal Server Error).