keecode logokeecode

HTTP Status Codes Reference

Complete reference for HTTP response status codes from 1xx to 5xx

Most Common Status Codes

The HTTP status codes you'll encounter most frequently

Informational (100103)

These codes indicate that the request was received and understood.

Success (200206)

These codes indicate the action requested was received, understood, and accepted.

Redirection (300308)

These codes indicate the client must take additional action to complete the request.

Client Error (400451)

These codes indicate the request contains bad syntax or cannot be fulfilled.

400

Bad Request

The server cannot process the request due to client error

401

Unauthorized

Authentication is required and has failed or has not been provided

402

Payment Required

Reserved for future use in digital payment systems

403

Forbidden

The server understood the request but refuses to authorize it

404

Not Found

The requested resource could not be found

405

Method Not Allowed

The request method is not supported for the requested resource

406

Not Acceptable

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

407

Proxy Authentication Required

The client must first authenticate itself with the proxy

408

Request Timeout

The server timed out waiting for the request

409

Conflict

The request could not be processed because of conflict in the current state of the resource

410

Gone

The resource is no longer available and will not be available again

411

Length Required

The request did not specify the length of its content

412

Precondition Failed

The server does not meet one of the preconditions in the request headers

413

Payload Too Large

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

414

URI Too Long

The URI provided was too long for the server to process

415

Unsupported Media Type

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

416

Range Not Satisfiable

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

417

Expectation Failed

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

418

I'm a teapot

April Fools' joke from 1998; any attempt to brew coffee with a teapot should result in this error

421

Misdirected Request

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

422

Unprocessable Entity

The request was well-formed but contains semantic errors

423

Locked

The resource that is being accessed is locked

424

Failed Dependency

The request failed because it depended on another request that failed

425

Too Early

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

426

Upgrade Required

The client should switch to a different protocol

428

Precondition Required

The origin server requires the request to be conditional

429

Too Many Requests

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

431

Request Header Fields Too Large

The server is unwilling to process the request because header fields are too large

451

Unavailable For Legal Reasons

The resource is unavailable due to legal reasons

Server Error (500511)

These codes indicate the server failed to fulfill a valid request.