HTTP Status Lookup

clocktower@tools:~$cd /tools/web-dev && ./http-status-lookup
100

Continue

informationalRFC 7231

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

Common Use

Used with Expect: 100-continue header

101

Switching Protocols

informationalRFC 7231

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

Common Use

WebSocket upgrades

102

Processing

informationalRFC 2518

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

Common Use

WebDAV operations

103

Early Hints

informationalRFC 8297

Used to return some response headers before final HTTP message.

Common Use

Performance optimization

200

OK

successRFC 7231

Standard response for successful HTTP requests.

Example

GET /users → Returns user list

Common Use

Most common success response

201

Created

successRFC 7231

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

Example

POST /users → User created

Common Use

Resource creation via POST/PUT

202

Accepted

successRFC 7231

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

Common Use

Asynchronous processing

203

Non-Authoritative Information

successRFC 7231

The server is a transforming proxy that received a 200 OK but is returning a modified version.

Common Use

Proxy transformations

204

No Content

successRFC 7231

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

Example

DELETE /users/123 → User deleted

Common Use

DELETE operations, updates without response body

205

Reset Content

successRFC 7231

The server successfully processed the request, but is not returning any content and requires the requester to reset the document view.

Common Use

Form submissions requiring reset

206

Partial Content

successRFC 7233

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

Common Use

Video streaming, file downloads

300

Multiple Choices

redirectionRFC 7231

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

Common Use

Content negotiation

301

Moved Permanently

redirectionRFC 7231

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

Example

Location: https://newsite.com

Common Use

SEO-friendly redirects, site migrations

302

Found

redirectionRFC 7231

Tells the client to look at another URL. A temporary redirect.

Common Use

Temporary redirects, after form submission

303

See Other

redirectionRFC 7231

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

Common Use

POST-redirect-GET pattern

304

Not Modified

redirectionRFC 7232

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

Common Use

Browser caching, ETags

307

Temporary Redirect

redirectionRFC 7231

The request should be repeated with another URI, but future requests should still use the original URI.

Common Use

Temporary redirects preserving method

308

Permanent Redirect

redirectionRFC 7538

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

Common Use

Permanent redirects preserving method

400

Bad Request

client-errorRFC 7231

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

Example

Invalid JSON in request body

Common Use

Malformed requests, validation errors

401

Unauthorized

client-errorRFC 7235

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

Example

WWW-Authenticate: Bearer

Common Use

Missing or invalid authentication

402

Payment Required

client-errorRFC 7231

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.

Common Use

Payment gateways, subscription services

403

Forbidden

client-errorRFC 7231

The request was valid, but the server is refusing action. The user might not have the necessary permissions.

Example

Access denied to admin panel

Common Use

Authorization failures, insufficient permissions

404

Not Found

client-errorRFC 7231

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

Example

GET /users/999 → User not found

Common Use

Most common error, missing resources

405

Method Not Allowed

client-errorRFC 7231

A request method is not supported for the requested resource.

Example

POST to GET-only endpoint

Common Use

Wrong HTTP method used

406

Not Acceptable

client-errorRFC 7231

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

Common Use

Content negotiation failures

407

Proxy Authentication Required

client-errorRFC 7235

The client must first authenticate itself with the proxy.

Common Use

Corporate proxy authentication

408

Request Timeout

client-errorRFC 7231

The server timed out waiting for the request.

Common Use

Slow client connections

409

Conflict

client-errorRFC 7231

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

Example

Username already exists

Common Use

Resource conflicts, version conflicts

410

Gone

client-errorRFC 7231

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

Common Use

Permanently deleted resources

411

Length Required

client-errorRFC 7231

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

Common Use

Missing Content-Length header

412

Precondition Failed

client-errorRFC 7232

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

Common Use

Conditional requests with ETags

413

Payload Too Large

client-errorRFC 7231

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

Common Use

File upload size limits

414

URI Too Long

client-errorRFC 7231

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

Common Use

Extremely long URLs

415

Unsupported Media Type

client-errorRFC 7231

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

Example

Sending XML to JSON-only API

Common Use

Wrong Content-Type header

416

Range Not Satisfiable

client-errorRFC 7233

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

Common Use

Invalid byte ranges

417

Expectation Failed

client-errorRFC 7231

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

Common Use

Expect: 100-continue failures

418

I'm a teapot

client-errorRFC 2324

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

Common Use

April Fools joke, Easter egg

421

Misdirected Request

client-errorRFC 7540

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

Common Use

HTTP/2 connection reuse issues

422

Unprocessable Entity

client-errorRFC 4918

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

Example

Validation errors in form data

Common Use

WebDAV, form validation errors

423

Locked

client-errorRFC 4918

The resource that is being accessed is locked.

Common Use

WebDAV resource locking

424

Failed Dependency

client-errorRFC 4918

The request failed due to failure of a previous request.

Common Use

WebDAV batch operations

425

Too Early

client-errorRFC 8470

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

Common Use

TLS 1.3 early data protection

426

Upgrade Required

client-errorRFC 7231

The client should switch to a different protocol such as TLS/1.0.

Common Use

Force HTTPS upgrades

428

Precondition Required

client-errorRFC 6585

The origin server requires the request to be conditional.

Common Use

Lost update prevention

429

Too Many Requests

client-errorRFC 6585

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

Example

Retry-After: 3600

Common Use

Rate limiting, API throttling

431

Request Header Fields Too Large

client-errorRFC 6585

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

Common Use

Large cookie headers

451

Unavailable For Legal Reasons

client-errorRFC 7725

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

Common Use

Content blocking, censorship

500

Internal Server Error

server-errorRFC 7231

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

Example

Unhandled exception in code

Common Use

Most common server error

501

Not Implemented

server-errorRFC 7231

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

Common Use

Unsupported HTTP methods

502

Bad Gateway

server-errorRFC 7231

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

Common Use

Proxy/load balancer errors

503

Service Unavailable

server-errorRFC 7231

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

Example

Retry-After: 120

Common Use

Maintenance mode, overload

504

Gateway Timeout

server-errorRFC 7231

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

Common Use

Upstream timeouts

505

HTTP Version Not Supported

server-errorRFC 7231

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

Common Use

Old HTTP versions

506

Variant Also Negotiates

server-errorRFC 2295

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

Common Use

Content negotiation errors

507

Insufficient Storage

server-errorRFC 4918

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

Common Use

WebDAV storage limits

508

Loop Detected

server-errorRFC 5842

The server detected an infinite loop while processing the request.

Common Use

WebDAV binding loops

510

Not Extended

server-errorRFC 2774

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

Common Use

HTTP extension framework

511

Network Authentication Required

server-errorRFC 6585

The client needs to authenticate to gain network access.

Common Use

Captive portals, hotel WiFi

Showing 58 of 58 status codes