Bx
ToolPile
All Tools

HTTP Status Code Reference

Quick reference for all HTTP status codes with descriptions and use cases.

Advertisement
100

Continue

The server has received the request headers, 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. Allows preloading resources.

200

OK

Standard response for successful HTTP requests. The meaning varies by method (GET returns resource, POST returns result).

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 is not complete.

204

No Content

The server successfully processed the request but returns no content.

206

Partial Content

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

301

Moved Permanently

The resource has been permanently moved to a new URL. Search engines transfer ranking to the new URL.

302

Found

The resource temporarily resides at a different URL. The client should continue using the original URL.

303

See Other

The response can be found at another URL using a GET request. Often used after POST/PUT.

304

Not Modified

The resource has not been modified since the version specified by If-Modified-Since or If-None-Match headers.

307

Temporary Redirect

Like 302, but guarantees that the method and body will not change when the request is reissued.

308

Permanent Redirect

Like 301, but guarantees that the method and body will not change when the request is reissued.

400

Bad Request

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

401

Unauthorized

Authentication is required. The client must authenticate itself to get the requested response.

403

Forbidden

The server understood the request but refuses to authorise it. Unlike 401, re-authenticating will not help.

404

Not Found

The requested resource could not be found on the server. The most common error on the web.

405

Method Not Allowed

The request method is not supported for the resource (e.g., GET on a POST-only endpoint).

406

Not Acceptable

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

408

Request Timeout

The server timed out waiting for the request from the client.

409

Conflict

The request conflicts with the current state of the server (e.g., duplicate resource).

410

Gone

The resource is no longer available and will not be available again. Unlike 404, this is permanent.

413

Payload Too Large

The request body is larger than the server is willing to process.

414

URI Too Long

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

415

Unsupported Media Type

The media type of the request data is not supported by the server.

418

I'm a Teapot

An April Fools joke from 1998 (RFC 2324). The server refuses to brew coffee because it is a teapot.

422

Unprocessable Entity

The request was well-formed but contains semantic errors (commonly used in REST APIs for validation).

429

Too Many Requests

The client has sent too many requests in a given time period (rate limiting).

451

Unavailable For Legal Reasons

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

500

Internal Server Error

A generic error when the server encounters an unexpected condition.

501

Not Implemented

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

502

Bad Gateway

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

503

Service Unavailable

The server is currently unable to handle the request due to maintenance or overload.

504

Gateway Timeout

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

36 of 36 status codes shown

Advertisement