HTTP Status Codes

Complete reference for HTTP status codes with descriptions.

1xx Informational

100Continue
The server has received the request headers and the client should proceed
101Switching Protocols
The requester has asked the server to switch protocols
102Processing
The server has received and is processing the request

2xx Success

200OK
Standard response for successful HTTP requests
201Created
The request has been fulfilled and resulted in a new resource being created
202Accepted
The request has been accepted for processing, but processing is not complete
204No Content
The server successfully processed the request, but is not returning any content

3xx Redirection

301Moved Permanently
This and all future requests should be directed to the given URI
302Found
Temporary redirect - the resource resides temporarily under a different URI
304Not Modified
Resource has not been modified since the version specified by request headers
307Temporary Redirect
The request should be repeated with another URI, but future requests should still use the original URI
308Permanent Redirect
The request and all future requests should be repeated using another URI

4xx Client Errors

400Bad Request
The server cannot or will not process the request due to client error
401Unauthorized
Authentication is required and has failed or has not been provided
403Forbidden
The request was valid, but the server is refusing to respond to it
404Not Found
The requested resource could not be found
405Method Not Allowed
Request method not supported for the requested resource
408Request Timeout
The server timed out waiting for the request
409Conflict
Request could not be processed because of conflict in the current state
429Too Many Requests
The user has sent too many requests in a given amount of time

5xx Server Errors

500Internal Server Error
A generic error message when the server encounters an unexpected condition
501Not Implemented
The server does not support the functionality required to fulfill the request
502Bad Gateway
The server received an invalid response from an upstream server
503Service Unavailable
The server is currently unavailable (overloaded or down for maintenance)
504Gateway Timeout
The server did not receive a timely response from an upstream server