HTTP Status Codes
Comprehensive reference for HTTP status codes. Search or browse status codes by category to understand their meaning, when they are used, and how to handle them in your applications.
Showing 49 status codes
Continue
Server received initial request headers, client should continue
Switching Protocols
Server switching protocols as requested by client
Processing
Server is processing the request (WebDAV)
Early Hints
Server sending headers before final response
OK
Request succeeded
Created
Request succeeded, new resource created
Accepted
Request accepted for processing, not completed
Non-Authoritative Information
Request succeeded but meta-information modified
No Content
Request succeeded, no content to return
Reset Content
Request succeeded, reset document view
Partial Content
Server delivering partial resource (range request)
Multi-Status
Multiple status codes for multiple resources (WebDAV)
Multiple Choices
Multiple options for the resource
Moved Permanently
Resource permanently moved to new URL
Found
Resource temporarily at different URL
See Other
Response at another URI with GET method
Not Modified
Resource not modified since last request
Temporary Redirect
Temporary redirect, same method
Permanent Redirect
Permanent redirect, same method
Bad Request
Server cannot process due to client error
Unauthorized
Authentication required
Payment Required
Reserved for future use
Forbidden
Server refuses to authorize request
Not Found
Requested resource not found
Method Not Allowed
Request method not supported for resource
Not Acceptable
No content matching Accept headers
Proxy Authentication Required
Client must authenticate with proxy
Request Timeout
Server timed out waiting for request
Conflict
Request conflicts with server state
Gone
Resource no longer available
Length Required
Content-Length header required
Precondition Failed
Precondition in headers not met
Payload Too Large
Request entity too large
URI Too Long
Request URI too long
Unsupported Media Type
Media type not supported
Range Not Satisfiable
Requested range not satisfiable
Expectation Failed
Expect header cannot be met
I'm a Teapot
Easter egg from 1998 April Fools RFC 2324
Unprocessable Entity
Request well-formed but semantically incorrect
Too Many Requests
Rate limit exceeded
Unavailable For Legal Reasons
Resource blocked for legal reasons
Internal Server Error
Generic server error
Not Implemented
Server does not support request method
Bad Gateway
Invalid response from upstream server
Service Unavailable
Server temporarily unavailable
Gateway Timeout
Upstream server timed out
HTTP Version Not Supported
HTTP version not supported
Insufficient Storage
Server cannot store representation
Network Authentication Required
Network authentication required
FAQ
What do HTTP status code categories mean?
1xx are informational, 2xx indicate success, 3xx are redirections, 4xx are client errors (like 404 Not Found), and 5xx are server errors (like 500 Internal Server Error).
What is the difference between 401 and 403?
401 Unauthorized means authentication is required but was not provided or is invalid. 403 Forbidden means authentication was successful but the user lacks permission to access the resource.
When should I use 301 vs 302 redirects?
Use 301 (Moved Permanently) when a resource has permanently moved to a new URL. Use 302 (Found) or 307 (Temporary Redirect) for temporary redirections where the original URL may be used again.