HTTP Status Codes

Complete reference for all standard HTTP status codes. Search by code, name, or description.

Jump to:

Showing 61 of 61 codes

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. to WebSocket.

102
Processing

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

103
Early Hints

Used to return some response headers before final HTTP message (Link preloading).

200
OKCOMMON

The request succeeded. The response body contains the requested resource.

201
CreatedCOMMON

The request succeeded and a new resource was created. Often returned after POST.

202
Accepted

The request has been received but not yet acted upon. Used for async processing.

203
Non-Authoritative Information

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

204
No ContentCOMMON

The request succeeded but there is no content to return. Common for DELETE requests.

205
Reset Content

The server fulfilled the request and wants the client to reset the document view.

206
Partial Content

The server is delivering only part of the resource due to a Range request header.

207
Multi-Status

Provides status for multiple independent operations (WebDAV).

208
Already Reported

The members of a DAV binding have already been enumerated in a previous reply.

226
IM Used

The server has fulfilled a GET request for the resource using instance manipulations.

300
Multiple Choices

The request has more than one possible response. The user-agent should choose one.

301
Moved PermanentlyCOMMON

The URL of the resource has been changed permanently. Use the new URL.

302
FoundCOMMON

The resource is temporarily at a different URL. The client should continue to use the original.

303
See Other

The response can be found at a different URL using a GET method.

304
Not ModifiedCOMMON

The cached version is still valid. The client can use the cached response.

307
Temporary RedirectCOMMON

The resource is temporarily at another URL. Same method must be used for the redirect.

308
Permanent Redirect

The resource is permanently at another URL. Same method must be used.

400
Bad RequestCOMMON

The server cannot process the request due to malformed syntax or invalid parameters.

401
UnauthorizedCOMMON

The client must authenticate to get the requested response. Credentials are missing or invalid.

402
Payment Required

Reserved for future use. Some services use it for quota or payment issues.

403
ForbiddenCOMMON

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

404
Not FoundCOMMON

The server cannot find the requested resource. The URL is not recognized.

405
Method Not AllowedCOMMON

The request method is not allowed for the target resource.

406
Not Acceptable

No content matches the criteria given in the Accept request header.

407
Proxy Authentication Required

Authentication is needed to be done by a proxy.

408
Request Timeout

The server timed out waiting for the request.

409
ConflictCOMMON

The request conflicts with the current state of the server, such as an edit conflict.

410
Gone

The resource has been permanently deleted and will not be available again.

411
Length Required

The Content-Length header is required but was not defined.

412
Precondition Failed

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

413
Content Too Large

The request body is larger than the server is willing or able to process.

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 cannot be fulfilled.

417
Expectation Failed

The expectation indicated by the Expect header cannot be met by the server.

418
I'm a Teapot

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

421
Misdirected Request

The request was directed at a server that is not able to produce a response.

422
Unprocessable ContentCOMMON

The request was well-formed but has semantic errors (e.g. validation failure).

423
Locked

The resource that is being accessed is locked (WebDAV).

424
Failed Dependency

The request failed due to a previous request failure (WebDAV).

425
Too Early

The server is unwilling to risk processing a request that might be replayed.

426
Upgrade Required

The server refuses to perform the request using the current protocol.

428
Precondition Required

The origin server requires the request to be conditional to prevent lost updates.

429
Too Many RequestsCOMMON

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

431
Request Header Fields Too Large

The server is unwilling to process the request because its header fields are too large.

451
Unavailable For Legal Reasons

The resource cannot legally be provided, e.g. censored by a government.

500
Internal Server ErrorCOMMON

The server encountered an unexpected condition that prevented it from fulfilling the request.

501
Not Implemented

The server does not support the functionality required to fulfill the request.

502
Bad GatewayCOMMON

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

503
Service UnavailableCOMMON

The server is not ready to handle the request. Common causes: down for maintenance or overloaded.

504
Gateway TimeoutCOMMON

The server, while acting as a gateway or proxy, did not get a response in time from the upstream server.

505
HTTP Version Not Supported

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

506
Variant Also Negotiates

Transparent content negotiation for the request results in a circular reference.

507
Insufficient Storage

The server cannot store the representation needed to complete the request (WebDAV).

508
Loop Detected

The server detected an infinite loop while processing the request (WebDAV).

510
Not Extended

Further extensions to the request are required for the server to fulfill it.

511
Network Authentication Required

The client needs to authenticate to gain network access (captive portals).