HTTP status codes

All HTTP status codes with their names and meanings for quick reference.

1xx Informational

Continue

The server has received the start of the request; the client should send the rest.

Switching Protocols

The server is switching protocols as the client asked.

Processing

The server is working on the request and has no response yet (WebDAV).

Early Hints

The server sends some headers ahead of the final response.

2xx Success

OK

The request succeeded.

Created

The request succeeded and a new resource was created.

Accepted

The request was accepted, but processing is not finished yet.

Non-Authoritative Information

The request succeeded, but a proxy changed the content on the way.

No Content

The request succeeded and the response has no content.

Reset Content

The client should reset the view that sent the request, for example a form.

Partial Content

The server delivers only the part of the resource the client asked for with a Range header.

Multi-Status

The response carries several status codes for several operations (WebDAV).

Already Reported

The items were already listed earlier in this response and are not repeated (WebDAV).

IM Used

The server returns the result of a delta encoding instead of the full resource.

3xx Redirection

Multiple Choices

The resource has several variants the client can choose from.

Moved Permanently

The resource has moved for good; future requests should use the new address.

Found

The resource is temporarily at a different address.

See Other

The response can be fetched from another address with GET.

Not Modified

The resource has not changed since the last request; the cached copy is still valid.

Use Proxy

The resource can only be reached through the given proxy. Deprecated.

Switch Proxy

No longer used; the code stays reserved.

Temporary Redirect

Repeat the request with the same method at another address; the original address stays valid.

Permanent Redirect

This and all future requests should go to the new address with the same method.

4xx Client error

Bad Request

The server cannot process the request because of an error on the client side.

Unauthorized

Authentication is required and is missing or has failed.

Payment Required

Reserved for future use; originally meant for payment systems.

Forbidden

The request was valid, but the server refuses access, for example for lack of permissions.

Not Found

The requested resource was not found.

Method Not Allowed

The request method is not allowed for this resource.

Not Acceptable

The server cannot deliver content that matches the Accept headers of the request.

Proxy Authentication Required

The client must first authenticate with the proxy.

Request Timeout

The server waited too long for the request.

Conflict

The request conflicts with the current state of the resource, for example with simultaneous edits.

Gone

The resource has been removed for good and will not come back.

Length Required

The request must state the length of its content.

Precondition Failed

A precondition given in the request is not met on the server.

Payload Too Large

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

URI Too Long

The address is too long for the server.

Unsupported Media Type

The server does not support the media type of the content sent.

Range Not Satisfiable

The requested part of the resource lies outside what is available.

Expectation Failed

The server cannot meet the requirement of the Expect header.

I'm a teapot

The server refuses to brew coffee with a teapot. An April Fools' joke from 1998.

Misdirected Request

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

Unprocessable Entity

The request is well-formed but contains semantic errors.

Locked

The resource is locked (WebDAV).

Failed Dependency

The request failed because an earlier request failed (WebDAV).

Too Early

The server will not process the request because it might be replayed.

Upgrade Required

The client should switch to a different protocol, for example TLS.

Precondition Required

The server requires the request to be conditional.

Too Many Requests

The client has sent too many requests in a short time.

Request Header Fields Too Large

A single header field or all header fields together are too large.

Unavailable For Legal Reasons

Access to the resource is blocked for legal reasons.

5xx Server error

Internal Server Error

Generic error: something unexpected happened on the server.

Not Implemented

The server does not know the method or cannot fulfil the request.

Bad Gateway

The server acts as a gateway or proxy and got an invalid response from the upstream server.

Service Unavailable

The server is currently unavailable, for example because of overload or maintenance.

Gateway Timeout

The server acts as a gateway or proxy and got no response in time from the upstream server.

HTTP Version Not Supported

The server does not support the HTTP version of the request.

Variant Also Negotiates

Content negotiation ends in a circular reference.

Insufficient Storage

The server does not have enough storage to complete the request (WebDAV).

Loop Detected

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

Not Extended

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

Network Authentication Required

The client must sign in to get network access, for example on a Wi-Fi portal.