HTTP Status Codes

Comprehensive reference for HTTP status codes. Search or browse status codes by category to understand their meaning, when they are used, and how to handle them in your applications.

Showing 49 status codes

100

Continue

Server received initial request headers, client should continue

101

Switching Protocols

Server switching protocols as requested by client

102

Processing

Server is processing the request (WebDAV)

103

Early Hints

Server sending headers before final response

200

OK

Request succeeded

201

Created

Request succeeded, new resource created

202

Accepted

Request accepted for processing, not completed

203

Non-Authoritative Information

Request succeeded but meta-information modified

204

No Content

Request succeeded, no content to return

205

Reset Content

Request succeeded, reset document view

206

Partial Content

Server delivering partial resource (range request)

207

Multi-Status

Multiple status codes for multiple resources (WebDAV)

300

Multiple Choices

Multiple options for the resource

301

Moved Permanently

Resource permanently moved to new URL

302

Found

Resource temporarily at different URL

303

See Other

Response at another URI with GET method

304

Not Modified

Resource not modified since last request

307

Temporary Redirect

Temporary redirect, same method

308

Permanent Redirect

Permanent redirect, same method

400

Bad Request

Server cannot process due to client error

401

Unauthorized

Authentication required

402

Payment Required

Reserved for future use

403

Forbidden

Server refuses to authorize request

404

Not Found

Requested resource not found

405

Method Not Allowed

Request method not supported for resource

406

Not Acceptable

No content matching Accept headers

407

Proxy Authentication Required

Client must authenticate with proxy

408

Request Timeout

Server timed out waiting for request

409

Conflict

Request conflicts with server state

410

Gone

Resource no longer available

411

Length Required

Content-Length header required

412

Precondition Failed

Precondition in headers not met

413

Payload Too Large

Request entity too large

414

URI Too Long

Request URI too long

415

Unsupported Media Type

Media type not supported

416

Range Not Satisfiable

Requested range not satisfiable

417

Expectation Failed

Expect header cannot be met

418

I'm a Teapot

Easter egg from 1998 April Fools RFC 2324

422

Unprocessable Entity

Request well-formed but semantically incorrect

429

Too Many Requests

Rate limit exceeded

451

Unavailable For Legal Reasons

Resource blocked for legal reasons

500

Internal Server Error

Generic server error

501

Not Implemented

Server does not support request method

502

Bad Gateway

Invalid response from upstream server

503

Service Unavailable

Server temporarily unavailable

504

Gateway Timeout

Upstream server timed out

505

HTTP Version Not Supported

HTTP version not supported

507

Insufficient Storage

Server cannot store representation

511

Network Authentication Required

Network authentication required

FAQ

What do HTTP status code categories mean?

1xx are informational, 2xx indicate success, 3xx are redirections, 4xx are client errors (like 404 Not Found), and 5xx are server errors (like 500 Internal Server Error).

What is the difference between 401 and 403?

401 Unauthorized means authentication is required but was not provided or is invalid. 403 Forbidden means authentication was successful but the user lacks permission to access the resource.

When should I use 301 vs 302 redirects?

Use 301 (Moved Permanently) when a resource has permanently moved to a new URL. Use 302 (Found) or 307 (Temporary Redirect) for temporary redirections where the original URL may be used again.

Related Tools