HTTP Status Codes

Complete reference guide for HTTP status codes with descriptions and RFC specifications

Showing 57 of 57 HTTP status codes
100informational

Continue

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

RFC 7231
101informational

Switching Protocols

The requester has asked the server to switch protocols and the server has agreed to do so.

RFC 7231
102informational

Processing

A WebDAV request may contain many sub-requests involving file operations, requiring a long time to complete.

RFC 2518
103informational

Early Hints

Used to return some response headers before final HTTP message.

RFC 8297
200success

OK

Standard response for successful HTTP requests.

RFC 7231
201success

Created

The request has been fulfilled, resulting in the creation of a new resource.

RFC 7231
202success

Accepted

The request has been accepted for processing, but the processing has not been completed.

RFC 7231
203success

Non-Authoritative Information

The server is a transforming proxy that received a 200 OK from its origin.

RFC 7231
204success

No Content

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

RFC 7231
205success

Reset Content

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

RFC 7231
206success

Partial Content

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

RFC 7233
300redirection

Multiple Choices

Indicates multiple options for the resource from which the client may choose.

RFC 7231
301redirection

Moved Permanently

This and all future requests should be directed to the given URI.

RFC 7231
302redirection

Found

Tells the client to look at (browse to) another URL.

RFC 7231
303redirection

See Other

The response to the request can be found under another URI using the GET method.

RFC 7231
304redirection

Not Modified

Indicates that the resource has not been modified since the version specified by the request headers.

RFC 7232
307redirection

Temporary Redirect

In this case, the request should be repeated with another URI.

RFC 7231
308redirection

Permanent Redirect

The request and all future requests should be repeated using another URI.

RFC 7538
400client error

Bad Request

The server cannot or will not process the request due to an apparent client error.

RFC 7231
401client error

Unauthorized

Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.

RFC 7235
402client error

Payment Required

Reserved for future use. The original intention was that this code might be used as part of some form of digital cash or micropayment scheme.

RFC 7231
403client error

Forbidden

The request was valid, but the server is refusing action.

RFC 7231
404client error

Not Found

The requested resource could not be found but may be available in the future.

RFC 7231
405client error

Method Not Allowed

A request method is not supported for the requested resource.

RFC 7231
406client error

Not Acceptable

The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.

RFC 7231
407client error

Proxy Authentication Required

The client must first authenticate itself with the proxy.

RFC 7235
408client error

Request Timeout

The server timed out waiting for the request.

RFC 7231
409client error

Conflict

Indicates that the request could not be processed because of conflict in the request.

RFC 7231
410client error

Gone

Indicates that the resource requested is no longer available and will not be available again.

RFC 7231
411client error

Length Required

The request did not specify the length of its content, which is required by the requested resource.

RFC 7231
412client error

Precondition Failed

The server does not meet one of the preconditions that the requester put on the request.

RFC 7232
413client error

Payload Too Large

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

RFC 7231
414client error

URI Too Long

The URI provided was too long for the server to process.

RFC 7231
415client error

Unsupported Media Type

The request entity has a media type which the server or resource does not support.

RFC 7231
416client error

Range Not Satisfiable

The client has asked for a portion of the file, but the server cannot supply that portion.

RFC 7233
417client error

Expectation Failed

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

RFC 7231
418client error

I'm a teapot

This code was defined in 1998 as one of the traditional IETF April Fools' jokes.

RFC 2324
422client error

Unprocessable Entity

The request was well-formed but was unable to be followed due to semantic errors.

RFC 4918
423client error

Locked

The resource that is being accessed is locked.

RFC 4918
424client error

Failed Dependency

The request failed because it depended on another request and that request failed.

RFC 4918
425client error

Too Early

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

RFC 8470
426client error

Upgrade Required

The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.

RFC 7231
428client error

Precondition Required

The origin server requires the request to be conditional.

RFC 6585
429client error

Too Many Requests

The user has sent too many requests in a given amount of time.

RFC 6585
431client error

Request Header Fields Too Large

The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.

RFC 6585
451client error

Unavailable For Legal Reasons

A server operator has received a legal demand to deny access to a resource or to a set of resources.

RFC 7725
500server error

Internal Server Error

A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.

RFC 7231
501server error

Not Implemented

The server either does not recognize the request method, or it lacks the ability to fulfil the request.

RFC 7231
502server error

Bad Gateway

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

RFC 7231
503server error

Service Unavailable

The server is currently unavailable (because it is overloaded or down for maintenance).

RFC 7231
504server error

Gateway Timeout

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

RFC 7231
505server error

HTTP Version Not Supported

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

RFC 7231
506server error

Variant Also Negotiates

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

RFC 2295
507server error

Insufficient Storage

The server is unable to store the representation needed to complete the request.

RFC 4918
508server error

Loop Detected

The server detected an infinite loop while processing the request.

RFC 5842
510server error

Not Extended

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

RFC 2774
511server error

Network Authentication Required

The client needs to authenticate to gain network access.

RFC 6585