100 Continue

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

101 Switching Protocols

The server agrees to switch protocols as requested by the client, for example to WebSocket.

102 Processing

The server accepted the request but has not finished it yet (WebDAV).

103 Early Hints

Sends preliminary headers, such as Link preload hints, before the final response.

200 OK

The request succeeded. The meaning depends on the method: the resource for GET, the result of the action for POST.

201 Created

The request succeeded and a new resource was created, usually returned with a Location header.

202 Accepted

The request was accepted for processing, but processing has not finished.

203 Non-Authoritative Information

The response comes from a transforming proxy and may differ from the origin server response.

204 No Content

The request succeeded and there is no body to return. Common for DELETE and PUT.

205 Reset Content

The request succeeded and the client should reset the document view, such as clearing a form.

206 Partial Content

The server returns only the byte range requested with a Range header.

207 Multi-Status

The body contains several status codes for separate operations (WebDAV).

208 Already Reported

The members of a WebDAV binding were already listed earlier in the response.

226 IM Used

The server fulfilled a GET request using one or more instance manipulations (delta encoding).

300 Multiple Choices

The request has several possible responses and the client should pick one.

301 Moved Permanently

The resource has a new permanent URL. Search engines transfer ranking to the new URL.

302 Found

The resource is temporarily at another URL. Clients keep using the original URL for future requests.

303 See Other

The response is at another URL and must be fetched with GET, often after a POST.

304 Not Modified

The cached version is still valid, so the server sends no body. Used with ETag and If-Modified-Since.

305 Use Proxy

Deprecated. The resource must be accessed through a proxy.

307 Temporary Redirect

Like 302, but the client must repeat the request with the same method and body.

308 Permanent Redirect

Like 301, but the client must repeat the request with the same method and body.

400 Bad Request

The server cannot process the request because of malformed syntax, invalid framing or a bad parameter.

401 Unauthorized

Authentication is required or failed. The response should include a WWW-Authenticate header.

402 Payment Required

Reserved for future use. Some APIs use it to signal a billing or quota problem.

403 Forbidden

The server understood the request but refuses it. Authenticating again will not help.

404 Not Found

The server cannot find the requested resource. Also used to hide that a resource exists.

405 Method Not Allowed

The method is not supported for this resource. The Allow header lists the valid methods.

406 Not Acceptable

The server cannot produce a response that matches the client Accept headers.

407 Proxy Authentication Required

The client must authenticate with the proxy first.

408 Request Timeout

The server timed out waiting for the client to finish sending the request.

409 Conflict

The request conflicts with the current state of the resource, such as an edit conflict or a duplicate.

410 Gone

The resource was permanently removed and will not come back. Stronger than 404 for search engines.

411 Length Required

The server requires a Content-Length header.

412 Precondition Failed

A condition in the request headers, such as If-Match, evaluated to false.

413 Content Too Large

The request body is larger than the server accepts. Formerly named Payload Too Large.

414 URI Too Long

The request URL is longer than the server is willing to handle.

415 Unsupported Media Type

The server does not support the Content-Type of the request body.

416 Range Not Satisfiable

The requested byte range cannot be served, for example it lies outside the resource.

417 Expectation Failed

The server cannot meet the requirements of the Expect request header.

418 I'm a teapot

An April Fools joke from RFC 2324. Some servers return it to reject unwanted bots.

421 Misdirected Request

The request was sent to a server that cannot produce a response for it.

422 Unprocessable Content

The request is well formed but contains semantic errors, such as failed validation.

423 Locked

The resource is locked (WebDAV).

424 Failed Dependency

The request failed because a previous request it depended on failed (WebDAV).

425 Too Early

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

426 Upgrade Required

The client must switch to another protocol, named in the Upgrade header.

428 Precondition Required

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

429 Too Many Requests

The client sent too many requests in a given time (rate limiting). A Retry-After header may say when to retry.

431 Request Header Fields Too Large

The headers are too large, either as a whole or one field.

451 Unavailable For Legal Reasons

The resource is blocked for legal reasons, such as a court order or censorship.

500 Internal Server Error

A generic error: the server hit an unexpected condition and could not fulfil the request.

501 Not Implemented

The server does not support the functionality needed for the request method.

502 Bad Gateway

A gateway or proxy received an invalid response from the upstream server.

503 Service Unavailable

The server is overloaded or down for maintenance. A Retry-After header may say when to try again.

504 Gateway Timeout

A gateway or proxy did not get a response from the upstream server in time.

505 HTTP Version Not Supported

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

506 Variant Also Negotiates

A configuration error caused a circular reference in content negotiation.

507 Insufficient Storage

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

508 Loop Detected

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

510 Not Extended

The server needs further extensions to the request before it can fulfil it.

511 Network Authentication Required

The client must authenticate to gain network access, as on a captive portal.

Every HTTP response starts with a three-digit status code that tells the client what happened. The first digit is the class: 1xx informational, 2xx success, 3xx redirection, 4xx the client made a mistake and 5xx the server failed.


Search by number (40 lists every 40x), by name or by what it means, and filter by class. The list covers the codes in the IANA registry that you will meet in practice, including WebDAV ones.

Frequently asked questions

What is the difference between 401 and 403?

401 Unauthorized means the request lacks valid authentication, so the client can try again with credentials. 403 Forbidden means the server knows who you are and still refuses the request.

Should I use 301 or 302 for a redirect?

Use 301 (or 308) when a URL has moved for good, so search engines pass ranking to the new URL. Use 302 (or 307) for a temporary redirect. 307 and 308 also keep the original request method.

What does 418 I'm a teapot mean?

It comes from an April Fools RFC (RFC 2324). It has no practical meaning, though some servers return it to turn away unwanted bots.

Related tools

Guides & comparisons