HTTP Status Code Reference

Complete guide to HTTP response status codes

1xx

Informational

100
Continue

Server received headers, client should send body

101
Switching Protocols

Server agrees to switch protocols (e.g., WebSocket)

2xx

Success

200
OK

Request succeeded, response body contains data

201
Created

Resource successfully created (POST)

204
No Content

Success but no response body

206
Partial Content

Partial resource returned (Range header)

3xx

Redirection

301
Moved Permanently

Resource permanently moved to new URL

302
Found

Temporary redirect (formerly "Moved Temporarily")

304
Not Modified

Cached version is still valid

307
Temporary Redirect

Redirect preserving method and body

308
Permanent Redirect

Permanent redirect preserving method

4xx

Client Errors

400
Bad Request

Malformed request syntax

401
Unauthorized

Authentication required

403
Forbidden

Access denied (authenticated but not allowed)

404
Not Found

Resource does not exist

405
Method Not Allowed

HTTP method not supported for this resource

408
Request Timeout

Server timed out waiting for request

429
Too Many Requests

Rate limit exceeded

451
Unavailable For Legal Reasons

Content blocked due to legal reasons

5xx

Server Errors

500
Internal Server Error

Generic server error

501
Not Implemented

Server doesn't support request method

502
Bad Gateway

Invalid response from upstream server

503
Service Unavailable

Server temporarily overloaded or down

504
Gateway Timeout

Upstream server didn't respond in time