HTTP Status Codes

A searchable reference of standard HTTP status codes with their meaning, color-coded by class (1xx-5xx).

CodeNameDescription
100
ContinueThe server has received the request headers and the client should proceed to send the request body.
101
Switching ProtocolsThe server is switching protocols as requested by the client (e.g. to WebSocket).
200
OKThe request succeeded.
201
CreatedThe request succeeded and a new resource was created.
202
AcceptedThe request was accepted for processing, but processing is not complete.
204
No ContentThe request succeeded but there is no content to return.
206
Partial ContentOnly part of the resource is being delivered, as requested via a Range header.
301
Moved PermanentlyThe resource has been permanently moved to a new URL.
302
FoundThe resource temporarily resides at a different URL.
304
Not ModifiedThe resource has not changed since the last request (used with caching).
307
Temporary RedirectLike 302, but the request method must not change.
308
Permanent RedirectLike 301, but the request method must not change.
400
Bad RequestThe server cannot process the request due to a client error (malformed syntax, invalid parameters).
401
UnauthorizedAuthentication is required and has failed or not been provided.
402
Payment RequiredReserved for future use, sometimes used for API rate limit / payment issues.
403
ForbiddenThe server understood the request but refuses to authorize it.
404
Not FoundThe requested resource could not be found.
405
Method Not AllowedThe request method is not supported for the requested resource.
406
Not AcceptableThe requested resource cannot generate content matching the Accept headers.
408
Request TimeoutThe server timed out waiting for the request.
409
ConflictThe request conflicts with the current state of the resource.
410
GoneThe resource is no longer available and will not be available again.
411
Length RequiredThe request did not specify the length of its content.
413
Payload Too LargeThe request entity is larger than limits defined by the server.
414
URI Too LongThe URI requested by the client is longer than the server is willing to interpret.
415
Unsupported Media TypeThe media format of the requested data is not supported.
418
I'm a teapotAn April Fools' joke from RFC 2324 — the server refuses to brew coffee because it is a teapot.
422
Unprocessable EntityThe request was well-formed but contains semantic errors.
423
LockedThe resource that is being accessed is locked.
425
Too EarlyThe server is unwilling to process a request that might be replayed.
426
Upgrade RequiredThe client should switch to a different protocol.
428
Precondition RequiredThe origin server requires the request to be conditional.
429
Too Many RequestsThe user has sent too many requests in a given amount of time (rate limiting).
431
Request Header Fields Too LargeThe server refuses to process the request because header fields are too large.
451
Unavailable For Legal ReasonsThe resource is unavailable due to a legal demand.
500
Internal Server ErrorA generic error message when an unexpected condition was encountered.
501
Not ImplementedThe server does not support the functionality required to fulfill the request.
502
Bad GatewayThe server, acting as a gateway, received an invalid response from an upstream server.
503
Service UnavailableThe server is currently unable to handle the request (overloaded or down for maintenance).
504
Gateway TimeoutThe server, acting as a gateway, did not receive a timely response from an upstream server.
505
HTTP Version Not SupportedThe server does not support the HTTP protocol version used in the request.
507
Insufficient StorageThe server is unable to store the representation needed to complete the request.
508
Loop DetectedThe server detected an infinite loop while processing the request.
511
Network Authentication RequiredThe client needs to authenticate to gain network access.