HTTP Status Codes

Complete reference for HTTP status codes

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.

102

Processing

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

200

OK

The request succeeded. The meaning depends on the HTTP method used.

201

Created

The request succeeded, and a new resource was created as a result.

202

Accepted

The request has been received but not yet acted upon.

204

No Content

There is no content to send for this request, but the headers may be useful.

206

Partial Content

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

300

Multiple Choices

The request has more than one possible response.

301

Moved Permanently

The URL of the requested resource has been changed permanently.

302

Found

The URI of requested resource has been changed temporarily.

304

Not Modified

The response has not been modified, so the client can use the cached version.

307

Temporary Redirect

The server sends this response to direct the client to get the requested resource at another URI with the same method.

308

Permanent Redirect

The resource is now permanently located at another URI, specified by the Location header.

400

Bad Request

The server cannot process the request due to client error (e.g., malformed request syntax).

401

Unauthorized

Authentication is required and has failed or has not been provided.

403

Forbidden

The client does not have access rights to the content.

404

Not Found

The server cannot find the requested resource.

405

Method Not Allowed

The request method is known by the server but is not supported by the target resource.

408

Request Timeout

The server timed out waiting for the request.

409

Conflict

The request conflicts with the current state of the server.

410

Gone

The requested content has been permanently deleted from server.

413

Payload Too Large

Request entity is larger than limits defined by server.

414

URI Too Long

The URI requested by the client is longer than the server is willing to interpret.

415

Unsupported Media Type

The media format of the requested data is not supported by the server.

429

Too Many Requests

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

500

Internal Server Error

The server has encountered a situation it does not know how to handle.

501

Not Implemented

The request method is not supported by the server and cannot be handled.

502

Bad Gateway

The server, while working as a gateway, received an invalid response.

503

Service Unavailable

The server is not ready to handle the request (maintenance or overloaded).

504

Gateway Timeout

The server is acting as a gateway and cannot get a response in time.

505

HTTP Version Not Supported

The HTTP version used in the request is not supported by the server.

About HTTP Status Codes

1xx: Informational responses

2xx: Successful responses

3xx: Redirection messages

4xx: Client error responses

5xx: Server error responses