HTTP Status Code Library

Complete reference for HTTP status codes with search and copy functionality

Found 62 status codes

100
informational

Continue

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

101
informational

Switching Protocols

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

102
informational

Processing

The server has received and is processing the request, but no response is available yet

103
informational

Early Hints

Used to return some response headers before final HTTP message

200
success

OK

The request has succeeded. The meaning of the success depends on the HTTP method

201
success

Created

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

202
success

Accepted

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

203
success

Non-Authoritative Information

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

204
success

No Content

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

205
success

Reset Content

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

206
success

Partial Content

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

207
success

Multi-Status

The message body that follows is by default an XML message

208
success

Already Reported

The members of a DAV binding have already been enumerated

226
success

IM Used

The server has fulfilled a request for the resource

300
redirection

Multiple Choices

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

301
redirection

Moved Permanently

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

302
redirection

Found

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

303
redirection

See Other

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

304
redirection

Not Modified

Indicates that the resource has not been modified since the version specified

305
redirection

Use Proxy

The requested resource is available only through a proxy

307
redirection

Temporary Redirect

The request should be repeated with another URI

308
redirection

Permanent Redirect

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

400
client error

Bad Request

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

401
client error

Unauthorized

Similar to 403 Forbidden, but specifically for use when authentication is required

402
client error

Payment Required

Reserved for future use. The original intention was for digital cash or micropayment systems

403
client error

Forbidden

The request was valid, but the server is refusing action

404
client error

Not Found

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

405
client error

Method Not Allowed

A request method is not supported for the requested resource

406
client error

Not Acceptable

The requested resource is capable of generating only content not acceptable

407
client error

Proxy Authentication Required

The client must first authenticate itself with the proxy

408
client error

Request Timeout

The server timed out waiting for the request

409
client error

Conflict

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

410
client error

Gone

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

411
client error

Length Required

The request did not specify the length of its content

412
client error

Precondition Failed

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

413
client error

Payload Too Large

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

414
client error

URI Too Long

The URI provided was too long for the server to process

415
client error

Unsupported Media Type

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

416
client error

Range Not Satisfiable

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

417
client error

Expectation Failed

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

418
client error

I'm a teapot

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

421
client error

Misdirected Request

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

422
client error

Unprocessable Entity

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

423
client error

Locked

The resource that is being accessed is locked

424
client error

Failed Dependency

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

425
client error

Too Early

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

426
client error

Upgrade Required

The client should switch to a different protocol

428
client error

Precondition Required

The origin server requires the request to be conditional

429
client error

Too Many Requests

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

431
client error

Request Header Fields Too Large

The server is unwilling to process the request because either an individual header field is too large

451
client error

Unavailable For Legal Reasons

A server operator has received a legal demand to deny access to a resource

500
server error

Internal Server Error

A generic error message, given when an unexpected condition was encountered

501
server error

Not Implemented

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

502
server error

Bad Gateway

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

503
server error

Service Unavailable

The server cannot handle the request (because it is overloaded or down for maintenance)

504
server error

Gateway Timeout

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

505
server error

HTTP Version Not Supported

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

506
server error

Variant Also Negotiates

Transparent content negotiation for the request results in a circular reference

507
server error

Insufficient Storage

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

508
server error

Loop Detected

The server detected an infinite loop while processing the request

510
server error

Not Extended

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

511
server error

Network Authentication Required

The client needs to authenticate to gain network access

HTTP Status Code Library - Complete reference for web developers