Skip to content

HTTP Status Code Reference

Every HTTP status code explained with common causes, how to fix errors, and real response examples. A developer's quick reference for debugging APIs and web servers.

Informational (1xx)

100
Continue

The 100 Continue status code indicates that the server has received the request headers and the clie...

101
Switching Protocols

The 101 Switching Protocols status code indicates that the server accepts the client's request to sw...

Success (2xx)

200
OK

The 200 OK status code indicates that the request has succeeded. The meaning of success depends on t...

201
Created

The 201 Created status code indicates that the request has been fulfilled and a new resource has bee...

202
Accepted

The 202 Accepted status code indicates that the request has been accepted for processing, but the pr...

204
No Content

The 204 No Content status code indicates that the server has successfully fulfilled the request and ...

Redirection (3xx)

301
Moved Permanently

The 301 Moved Permanently status code indicates that the requested resource has been permanently mov...

302
Found

The 302 Found status code indicates that the requested resource is temporarily located at a differen...

304
Not Modified

The 304 Not Modified status code indicates that the requested resource has not been modified since t...

307
Temporary Redirect

The 307 Temporary Redirect status code indicates that the resource is temporarily at a different URL...

308
Permanent Redirect

The 308 Permanent Redirect status code indicates that the resource has been permanently moved to a n...

Client Error (4xx)

400
Bad Request

The 400 Bad Request status code indicates that the server cannot process the request due to somethin...

401
Unauthorized

The 401 Unauthorized status code indicates that the request lacks valid authentication credentials. ...

403
Forbidden

The 403 Forbidden status code indicates that the server understood the request but refuses to author...

404
Not Found

The 404 Not Found status code indicates that the server cannot find the requested resource. This is ...

405
Method Not Allowed

The 405 Method Not Allowed status code indicates that the HTTP method used in the request is not sup...

408
Request Timeout

The 408 Request Timeout status code indicates that the server did not receive a complete request wit...

409
Conflict

The 409 Conflict status code indicates that the request conflicts with the current state of the targ...

413
Payload Too Large

The 413 Payload Too Large status code indicates that the request body is larger than the server is w...

415
Unsupported Media Type

The 415 Unsupported Media Type status code indicates that the server refuses to accept the request b...

429
Too Many Requests

The 429 Too Many Requests status code indicates that the user has sent too many requests in a given ...

451
Unavailable For Legal Reasons

The 451 Unavailable For Legal Reasons status code indicates that the resource is unavailable due to ...

Server Error (5xx)

500
Internal Server Error

The 500 Internal Server Error status code indicates that the server encountered an unexpected condit...

502
Bad Gateway

The 502 Bad Gateway status code indicates that the server, while acting as a gateway or proxy, recei...

503
Service Unavailable

The 503 Service Unavailable status code indicates that the server is currently unable to handle the ...

504
Gateway Timeout

The 504 Gateway Timeout status code indicates that the server, while acting as a gateway or proxy, d...