Skip to content

HTTP Response Codes Cheat Sheet

1xx: Informational

CodeStatusDescription
100ContinueThe server has received the request headers and the client should proceed to send the request body.
101Switching ProtocolsThe requester has asked the server to switch protocols.
102ProcessingThe server is processing the request but no response is available yet.
103Early HintsUsed to return some response headers before final HTTP message.

2xx: Success

CodeStatusDescription
200OKThe request was successful.
201CreatedA new resource was successfully created.
202AcceptedThe request has been accepted for processing but not completed.
203Non-Authoritative InformationThe returned information is from a cached copy.
204No ContentThe request was successful, but there's no content to send back.
205Reset ContentThe server has fulfilled the request and wants the client to reset the document view.
206Partial ContentThe server is delivering only part of the resource.
207Multi-StatusMultiple status codes for multiple operations.
208Already ReportedUsed in DAV to avoid repeating the same resource multiple times.
226IM UsedThe server has fulfilled the request for the resource.

3xx: Redirection

CodeStatusDescription
300Multiple ChoicesMultiple options for the resource are available.
301Moved PermanentlyThe resource has been permanently moved to a new URL.
302FoundThe resource is temporarily located at a different URL.
303See OtherThe response can be found at a different URL.
304Not ModifiedThe resource hasn't been modified since the last request.
307Temporary RedirectThe request should be repeated with another URL, but future requests should still use the original URL.
308Permanent RedirectThe resource has been permanently moved to another URL.

4xx: Client Error

CodeStatusDescription
400Bad RequestThe server cannot process the request due to a client error.
401UnauthorizedAuthentication is required to access the resource.
402Payment RequiredReserved for future use.
403ForbiddenThe server understood the request but refuses to authorize it.
404Not FoundThe requested resource could not be found.
405Method Not AllowedThe request method is not supported for the requested resource.
406Not AcceptableThe requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
407Proxy Authentication RequiredAuthentication with the proxy is required.
408Request TimeoutThe server timed out waiting for the request.
409ConflictThe request could not be completed due to a conflict with the current state of the resource.
410GoneThe requested resource is no longer available and will not be available again.
411Length RequiredThe request did not specify the length of its content.
412Precondition FailedThe server does not meet one of the preconditions that the requester put on the request.
413Content Too LargeThe request is larger than the server is willing or able to process.
414URI Too LongThe URI provided was too long for the server to process.
415Unsupported Media TypeThe request entity has a media type which the server or resource does not support.
416Range Not SatisfiableThe client has asked for a portion of the file, but the server cannot supply that portion.
417Expectation FailedThe server cannot meet the requirements of the Expect request-header field.
418I'm a teapotThe server refuses to brew coffee because it is a teapot.
421Misdirected RequestThe request was directed at a server that is not able to produce a response.
422Unprocessable ContentThe request was well-formed but was unable to be followed due to semantic errors.
423LockedThe resource that is being accessed is locked.
424Failed DependencyThe request failed due to failure of a previous request.
425Too EarlyThe server is unwilling to risk processing a request that might be replayed.
426Upgrade RequiredThe client should switch to a different protocol.
428Precondition RequiredThe origin server requires the request to be conditional.
429Too Many RequestsThe user has sent too many requests in a given amount of time.
431Request Header Fields Too LargeThe server is unwilling to process the request because its header fields are too large.
451Unavailable For Legal Reasons

5xx: Server Error

CodeStatusDescription
500Internal Server ErrorA generic error message when the server has encountered a situation it doesn't know how to handle.
501Not ImplementedThe server does not support the functionality required to fulfill the request.
502Bad GatewayThe server was acting as a gateway or proxy and received an invalid response from the upstream server.
503Service UnavailableThe server is currently unable to handle the request due to temporary overloading or maintenance.
504Gateway TimeoutThe server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
505HTTP Version Not SupportedThe server does not support the HTTP protocol version used in the request.
506Variant Also NegotiatesTransparent content negotiation for the request results in a circular reference.
507Insufficient StorageThe server is unable to store the representation needed to complete the request.
508Loop DetectedThe server detected an infinite loop while processing the request.
510Not ExtendedFurther extensions to the request are required for the server to fulfill it.
511Network Authentication RequiredThe client needs to authenticate to gain network access.