HTTP Status Codes Reference Guide

HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes. Click on any category to view codes.

1xx

Informational

Request received, continuing process.

100 Continue

The server has received the request headers and the client should proceed to send the request body.

101 Switching Protocols

The requester has asked the server to switch protocols and the server has agreed to do so.

102 Processing

WebDAV; The server has received and is processing the request, but no response is available yet.

2xx

Success

The action was successfully received, understood, and accepted.

200 OK

Standard response for successful HTTP requests.

201 Created

The request has been fulfilled, resulting in the creation of a new resource.

202 Accepted

The request has been accepted for processing, but the processing has not been completed.

204 No Content

The server successfully processed the request, and is not returning any content.

206 Partial Content

The server is delivering only part of the resource (range transmission) due to a Range header sent by the client.

3xx

Redirection

Further action must be taken in order to complete the request.

301 Moved Permanently

This and all future requests should be directed to the given URI.

302 Found

Tells the client to look at (browse to) another URL. Formerly "Moved temporarily".

304 Not Modified

Indicates that the resource has not been modified since the version specified by the request headers.

307 Temporary Redirect

The request should be repeated with another URI; however, future requests should still use the original URI.

308 Permanent Redirect

The request and all future requests should be repeated using another URI.

4xx

Client Errors

The request contains bad syntax or cannot be fulfilled.

400 Bad Request

The server cannot or will not process the request due to an apparent client error.

401 Unauthorized

Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or not yet been provided.

403 Forbidden

The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.

404 Not Found

The requested resource could not be found but may be available in the future.

405 Method Not Allowed

A request method is not supported for the requested resource.

409 Conflict

Indicates that the request could not be processed because of conflict in the current state of the resource.

422 Unprocessable Entity

WebDAV; The request was well-formed but was unable to be followed due to semantic errors.

429 Too Many Requests

The user has sent too many requests in a given amount of time ("rate limiting").

5xx

Server Errors

The server failed to fulfill an apparently valid request.

500 Internal Server Error

A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.

501 Not Implemented

The server either does not recognize the request method, or it lacks the ability to fulfill the request.

502 Bad Gateway

The server was acting as a gateway or proxy and received an invalid response from the upstream server.

503 Service Unavailable

The server cannot handle the request (because it is overloaded or down for maintenance).

504 Gateway Timeout

The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.