HTTP Status Codes

Searchable reference of all HTTP status codes with descriptions and use cases.

49 of 49 status codes

1xxInformational
100
Continue

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

101
Switching Protocols

The server is switching protocols as requested by the client (e.g., upgrading to WebSocket).

102
Processing

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

103
Early Hints

Used to return some response headers before the final HTTP message, allowing preloading of resources.

2xxSuccess
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 accepted for processing, but processing is not yet complete.

203
Non-Authoritative Information

The returned metadata is from a local or third-party copy, not the origin server.

204
No Content

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

205
Reset Content

The server successfully processed the request and asks the client to reset the document view.

206
Partial Content

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

207
Multi-Status

Conveys information about multiple resources, for situations where multiple status codes might be appropriate.

208
Already Reported

Used inside a DAV response to avoid enumerating internal members of multiple bindings to the same collection.

226
IM Used

The server has fulfilled a GET request and the response is a representation of one or more instance-manipulations.

3xxRedirection
300
Multiple Choices

The request has more than one possible response. The client should choose one of them.

301
Moved Permanently

The URL of the requested resource has been changed permanently. The new URL is given in the response.

302
Found

The URI of requested resource has been changed temporarily. The client should continue to use the original URI.

303
See Other

The server sent this response to direct the client to get the requested resource at another URI with a GET request.

304
Not Modified

The response has not been modified. The client can continue to use the cached version.

307
Temporary Redirect

The server sends this response to redirect the client, preserving the HTTP method used.

308
Permanent Redirect

The resource is now permanently located at another URI, preserving the HTTP method used.

4xxClient Error
400
Bad Request

The server cannot process the request due to something perceived to be a client error.

401
Unauthorized

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

402
Payment Required

Reserved for future use. Some services use this for rate limiting or payment walls.

403
Forbidden

The client does not have access rights to the content. Unlike 401, the client's identity is known.

404
Not Found

The server cannot find the requested resource. The most common error response on the web.

405
Method Not Allowed

The request method is not supported for the requested resource.

406
Not Acceptable

The server cannot produce a response matching the list of acceptable values defined in the request headers.

407
Proxy Authentication Required

Authentication with a proxy is required before the request can be served.

408
Request Timeout

The server timed out waiting for the request from the client.

409
Conflict

The request conflicts with the current state of the server.

410
Gone

The requested content has been permanently deleted from the server, with no forwarding address.

411
Length Required

The server requires the Content-Length header field to be defined in the request.

412
Precondition Failed

The client has indicated preconditions in its headers which the server does not meet.

413
Payload Too Large

The request entity is larger than limits defined by the 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.

416
Range Not Satisfiable

The range specified by the Range header field in the request cannot be fulfilled.

418
I'm a Teapot

The server refuses to brew coffee because it is a teapot (RFC 2324).

422
Unprocessable Entity

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).

451
Unavailable For Legal Reasons

The resource is not available due to legal demands (e.g., censorship or government order).

5xxServer Error
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, acting as a gateway or proxy, received an invalid response from the upstream server.

503
Service Unavailable

The server is not ready to handle the request, often due to maintenance or overload.

504
Gateway Timeout

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

505
HTTP Version Not Supported

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

511
Network Authentication Required

The client needs to authenticate to gain network access (e.g., captive portal).

Related Tools