Skip to main content

HTTP Status Codes Reference

Complete reference guide for HTTP status codes. Search by code number or description to find what you need.

100-199

1xx Informational

- Request received, continuing process
100

Continue

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

101

Switching Protocols

The server is switching protocols as requested by the client via the Upgrade header.

102

Processing

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

103

Early Hints

Used to return some response headers before final HTTP message.

200-299

2xx Success

- Request successfully received, understood, and accepted
200

OK

The request has succeeded. The meaning depends on the HTTP method used.

201

Created

The request has been fulfilled and a new resource has been created.

202

Accepted

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

203

Non-Authoritative Information

The returned metadata is not exactly the same as from the origin server.

204

No Content

The server successfully processed the request but returns no content.

205

Reset Content

The server processed the request and the client should reset the document view.

206

Partial Content

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

207

Multi-Status

Conveys information about multiple resources where multiple status codes might be appropriate.

208

Already Reported

Used inside a DAV: propstat response to avoid enumerating internal members multiple times.

226

IM Used

The server has fulfilled a GET request and the response represents one or more instance-manipulations.

300-399

3xx Redirection

- Further action needs to be taken to complete the request
300

Multiple Choices

The request has more than one possible response and the user should choose one.

301

Moved Permanently

The requested resource has been permanently moved to a new URL.

302

Found

The requested resource temporarily resides at a different URL.

303

See Other

The response can be found at a different URL using GET method.

304

Not Modified

The resource has not been modified since the last request.

305

Use Proxy

The requested resource must be accessed through a proxy (deprecated).

307

Temporary Redirect

The request should be repeated with the same method at another URL.

308

Permanent Redirect

The resource has permanently moved and the request method should not change.

400-499

4xx Client Error

- The request contains bad syntax or cannot be fulfilled
400

Bad Request

The server cannot process the request due to client error (malformed syntax, invalid request).

401

Unauthorized

Authentication is required and has failed or has not been provided.

402

Payment Required

Reserved for future use. Originally intended for 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 on the server.

405

Method Not Allowed

The HTTP method used is not supported for the requested resource.

406

Not Acceptable

The server cannot produce a response matching the Accept headers sent.

407

Proxy Authentication Required

The client must first authenticate with the proxy.

408

Request Timeout

The server timed out waiting for the request.

409

Conflict

The request conflicts with 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 as required.

412

Precondition Failed

One or more conditions in the request headers evaluated to false.

413

Payload Too Large

The request entity is larger than limits defined by server.

414

URI Too Long

The URI requested by the client is longer than the server can interpret.

415

Unsupported Media Type

The media format of the requested data is not supported by the server.

416

Range Not Satisfiable

The range specified by the Range header cannot be fulfilled.

417

Expectation Failed

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

418

I'm a Teapot

The server refuses to brew coffee because it is a teapot (April Fools' joke, RFC 2324).

421

Misdirected Request

The request was directed at a server that cannot produce a response.

422

Unprocessable Entity

The request was well-formed but semantically incorrect.

423

Locked

The resource 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 process a request that might be replayed.

426

Upgrade Required

The client should switch to a different protocol.

428

Precondition Required

The server requires the request to be conditional.

429

Too Many Requests

The user has sent too many requests in a given amount of time (rate limiting).

431

Request Header Fields Too Large

The server refuses to process the request because headers are too large.

451

Unavailable For Legal Reasons

The resource is unavailable due to legal demands (censorship, court order).

500-599

5xx Server Error

- The server failed to fulfill a valid request
500

Internal Server Error

A generic error message when an unexpected condition was encountered.

501

Not Implemented

The server does not support the functionality required to fulfill the request.

502

Bad Gateway

The server acting as a gateway received an invalid response from upstream.

503

Service Unavailable

The server is not ready to handle the request (maintenance, overloaded).

504

Gateway Timeout

The server acting as a gateway did not receive a timely response from upstream.

505

HTTP Version Not Supported

The HTTP version used in the request is not supported by the server.

506

Variant Also Negotiates

The server has an internal configuration error during content negotiation.

507

Insufficient Storage

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

508

Loop Detected

The server detected an infinite loop while processing the request.

510

Not Extended

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

511

Network Authentication Required

The client needs to authenticate to gain network access.

What are HTTP Status Codes?

HTTP status codes are three-digit numbers returned by web servers to indicate the result of a client's request. They help developers understand what happened when a request was made.

Status Code Categories

  • 1xx (Informational) - Request received, continuing process
  • 2xx (Success) - Request successfully received and accepted
  • 3xx (Redirection) - Further action needed to complete request
  • 4xx (Client Error) - Request contains bad syntax or cannot be fulfilled
  • 5xx (Server Error) - Server failed to fulfill valid request

Most Common Status Codes

The most frequently encountered status codes are 200 (OK), 301 (Moved Permanently), 404 (Not Found), and 500 (Internal Server Error).