🌐

HTTP Status Code Reference

Quick lookup for all standard HTTP status codes β€” search by code, name, or description

61 of 61 status codes

100
Continue1xx Informational

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

101
Switching Protocols1xx Informational

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

102
Processing1xx Informational

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

103
Early Hints1xx Informational

Used to preload resources while the server prepares a response.

200
OK2xx Success

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

201
Created2xx Success

The request succeeded and a new resource was created. The Location header points to the new resource.

202
Accepted2xx Success

The request has been accepted for processing, but processing is not yet complete.

203
Non-Authoritative Information2xx Success

The response is from a transforming proxy (e.g. CDN) and may differ from the origin.

204
No Content2xx Success

The request succeeded but there is no content to return. Common after DELETE or PUT.

205
Reset Content2xx Success

The request succeeded; the client should reset its document view.

206
Partial Content2xx Success

The server is returning part of the resource due to a Range request header (used for resumable downloads).

207
Multi-Status2xx Success

The response body contains multiple status codes for batch operations (WebDAV).

208
Already Reported2xx Success

Members of a DAV binding have already been enumerated in a preceding part of the response (WebDAV).

226
IM Used2xx Success

The server has fulfilled a GET request using delta encoding (HTTP Delta encoding).

300
Multiple Choices3xx Redirection

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

301
Moved Permanently3xx Redirection

The resource has been permanently moved to a new URL. Browsers and crawlers should update their links.

302
Found3xx Redirection

The resource is temporarily at a different URL. The original URL should be used for future requests.

303
See Other3xx Redirection

The response to the request can be found at a different URI using a GET request. Used after POST/PUT.

304
Not Modified3xx Redirection

The resource has not been modified since the version specified by the request headers. Use cached version.

307
Temporary Redirect3xx Redirection

The request should be repeated at another URI using the same method. The original URL remains valid.

308
Permanent Redirect3xx Redirection

The resource has been permanently moved. Unlike 301, the method must not change (POST stays POST).

400
Bad Request4xx Client Error

The server could not understand the request due to invalid syntax (malformed JSON, missing fields, etc.).

401
Unauthorized4xx Client Error

Authentication is required and has failed or not been provided. Client should authenticate and retry.

402
Payment Required4xx Client Error

Reserved for future use. Some APIs use this when a usage quota or subscription is required.

403
Forbidden4xx Client Error

The client is authenticated but does not have permission to access this resource.

404
Not Found4xx Client Error

The server cannot find the requested resource. The URL may be wrong or the resource deleted.

405
Method Not Allowed4xx Client Error

The HTTP method (GET, POST, etc.) is not supported for this endpoint.

406
Not Acceptable4xx Client Error

The server cannot produce a response matching the Accept headers sent by the client.

407
Proxy Authentication Required4xx Client Error

The client must first authenticate with the proxy server.

408
Request Timeout4xx Client Error

The server timed out waiting for the request. The client can retry.

409
Conflict4xx Client Error

The request conflicts with the current state of the resource (e.g. duplicate entry, version mismatch).

410
Gone4xx Client Error

The resource has been permanently deleted and will not be available again. Unlike 404, this is definitive.

411
Length Required4xx Client Error

The server requires a Content-Length header in the request.

412
Precondition Failed4xx Client Error

A conditional request header (If-Match, If-Unmodified-Since) evaluated to false.

413
Payload Too Large4xx Client Error

The request body exceeds the server limit. Common when uploading large files.

414
URI Too Long4xx Client Error

The URI is longer than the server is willing to interpret.

415
Unsupported Media Type4xx Client Error

The Content-Type of the request body is not supported (e.g. sending XML to a JSON-only endpoint).

416
Range Not Satisfiable4xx Client Error

The Range header in the request cannot be fulfilled by the server.

417
Expectation Failed4xx Client Error

The Expect request-header field could not be met by the server.

418
I'm a Teapot4xx Client Error

An April Fools' joke from RFC 2324. Any permanent attempt to brew coffee with a teapot should result in this error.

421
Misdirected Request4xx Client Error

The request was directed to a server that cannot produce a response for this combination of scheme and authority.

422
Unprocessable Entity4xx Client Error

The request was well-formed but the server was unable to process the contained instructions (e.g. validation errors).

423
Locked4xx Client Error

The resource being accessed is locked (WebDAV).

424
Failed Dependency4xx Client Error

A request failed because it depended on another request that failed (WebDAV).

425
Too Early4xx Client Error

The server is unwilling to risk processing a request that might be replayed (TLS early data).

426
Upgrade Required4xx Client Error

The server refuses the request using the current protocol. The client should switch to a different protocol (e.g. TLS).

428
Precondition Required4xx Client Error

The server requires the request to be conditional to prevent the "lost update" problem.

429
Too Many Requests4xx Client Error

The client has sent too many requests in a given time (rate limiting). Check the Retry-After header.

431
Request Header Fields Too Large4xx Client Error

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

451
Unavailable For Legal Reasons4xx Client Error

The resource is blocked for legal reasons (e.g. government censorship or DMCA takedown).

500
Internal Server Error5xx Server Error

A generic error when the server encounters an unexpected condition with no more specific message.

501
Not Implemented5xx Server Error

The server does not support the HTTP method used in the request.

502
Bad Gateway5xx Server Error

The server acting as a gateway received an invalid response from an upstream server.

503
Service Unavailable5xx Server Error

The server is not ready to handle the request. Common causes: maintenance, overload. Check Retry-After.

504
Gateway Timeout5xx Server Error

The server acting as a gateway did not receive a response in time from the upstream server.

505
HTTP Version Not Supported5xx Server Error

The server does not support the HTTP version used in the request.

506
Variant Also Negotiates5xx Server Error

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

507
Insufficient Storage5xx Server Error

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

508
Loop Detected5xx Server Error

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

510
Not Extended5xx Server Error

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

511
Network Authentication Required5xx Server Error

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