HTTPREF
← Back to home

HTTP Status Codes

Browse common HTTP response status codes with clear explanations and examples.

41 results — select a status code to view details
100Continue
The server received the request headers and the client should continue sending the request body.
Informational
101Switching Protocols
The server is switching protocols as requested by the client.
Informational
200OK
The request was successful and the server returned the expected response.
Success
201Created
The request succeeded and a new resource was created on the server.
Success
202Accepted
The request has been accepted for processing, but the work has not finished yet.
Success
204No Content
The request was successful, but the server returned no response body.
Success
206Partial Content
The server returned only part of the requested resource, usually because the client asked for a specific byte range.
Success
300Multiple Choices
The request has multiple possible responses and the client can choose between them.
Redirection
301Moved Permanently
The requested resource has been permanently moved to a new URL.
Redirection
302Found
The resource is temporarily available under a different URL.
Redirection
303See Other
The server tells the client to fetch another resource using a GET request.
Redirection
304Not Modified
The resource has not changed, so the client can use its cached version.
Redirection
307Temporary Redirect
The resource is temporarily available at another URL, and the original request method should be preserved.
Redirection
308Permanent Redirect
The resource has been permanently moved, and the original request method should be preserved.
Redirection
400Bad Request
The server could not understand the request because it was malformed or invalid.
Client Error
401Unauthorized
Authentication is required and the current request does not include valid credentials.
Client Error
403Forbidden
The server understood the request but refuses to authorize it.
Client Error
404Not Found
The server could not find the requested resource.
Client Error
405Method Not Allowed
The request method is not allowed for the requested resource.
Client Error
406Not Acceptable
The server cannot generate a response matching the values in the request Accept headers.
Client Error
408Request Timeout
The server timed out waiting for the client to complete the request.
Client Error
409Conflict
The request could not be completed because it conflicts with the current state of the resource.
Client Error
410Gone
The requested resource is no longer available and is not expected to come back.
Client Error
411Length Required
The server requires a Content-Length header but the request did not include one.
Client Error
412Precondition Failed
The request failed because one or more preconditions in the request headers were not met.
Client Error
413Payload Too Large
The server refused the request because the request body is too large.
Client Error
414URI Too Long
The request URI is longer than the server is willing to process.
Client Error
415Unsupported Media Type
The server refused the request because the payload format is not supported.
Client Error
418I'm a teapot
The server refuses the attempt to brew coffee with a teapot. This is an Easter egg status code from an April Fools' RFC.
Client Error
422Unprocessable Entity
The server understood the request format, but the request data could not be processed because of validation or semantic errors.
Client Error
423Locked
The resource is locked and cannot be modified right now.
Client Error
424Failed Dependency
The request failed because it depended on another request that failed first.
Client Error
426Upgrade Required
The server requires the client to switch to a different protocol before continuing.
Client Error
428Precondition Required
The server requires the request to be conditional, usually to avoid conflicting updates.
Client Error
429Too Many Requests
The client has sent too many requests in a given amount of time and has been rate limited.
Client Error
431Request Header Fields Too Large
The server refused the request because one or more request headers are too large.
Client Error
451Unavailable For Legal Reasons
The resource is unavailable because of legal or regulatory restrictions.
Client Error
500Internal Server Error
The server encountered an unexpected error and could not complete the request.
Server Error
502Bad Gateway
The server received an invalid response from an upstream server.
Server Error
503Service Unavailable
The server is temporarily unable to handle the request.
Server Error
504Gateway Timeout
The server did not receive a response from an upstream server in time.
Server Error