HTTP Status Codes

Complete reference of HTTP response status codes, from 1xx (informational) to 5xx (server error). Use the search field to filter.

1xx — Informational

CodeNameDescription
100ContinueThe server has received the request headers and the client should proceed to send the body.
101Switching ProtocolsThe server agrees to switch protocols as requested by the client (e.g., upgrade to WebSocket).
102ProcessingThe server is processing the request but no response is available yet (WebDAV).
103Early HintsAllows the client to start preloading resources while the server prepares the response.

2xx — Success

CodeNameDescription
200OKThe request succeeded. The response depends on the HTTP method used.
201CreatedThe request succeeded and a new resource was created.
202AcceptedThe request has been accepted for processing, but processing is not complete.
204No ContentThe request succeeded but there is no content to return.
206Partial ContentThe server returned only part of the resource (used in range requests/partial downloads).

3xx — Redirection

CodeNameDescription
301Moved PermanentlyThe resource has been permanently moved to a new URL. SEO: transfers authority.
302FoundTemporary redirect. The resource is temporarily at a different URL.
303See OtherThe server redirects to another resource via GET (common after POST).
304Not ModifiedThe resource has not been modified since the last request. The client can use cache.
307Temporary RedirectSame as 302, but guarantees the HTTP method won't change.
308Permanent RedirectSame as 301, but guarantees the HTTP method won't change.

4xx — Client Error

CodeNameDescription
400Bad RequestThe server cannot understand the request (invalid syntax).
401UnauthorizedAuthentication is required and has failed or has not been provided.
403ForbiddenThe server understood the request but refuses to authorize it.
404Not FoundThe requested resource was not found on the server.
405Method Not AllowedThe HTTP method used is not allowed for this resource.
408Request TimeoutThe server timed out waiting for the request.
409ConflictConflict with the current state of the resource (e.g., concurrent edits).
413Payload Too LargeThe request body exceeds the server's size limit.
414URI Too LongThe request URL is too long for the server to process.
415Unsupported Media TypeThe payload format is not supported by the server.
429Too Many RequestsThe client has sent too many requests in a given time (rate limiting).
451Unavailable For Legal ReasonsThe resource is unavailable for legal reasons.

5xx — Server Error

CodeNameDescription
500Internal Server ErrorGeneric error — the server encountered an unexpected condition.
501Not ImplementedThe server does not support the functionality required to fulfill the request.
502Bad GatewayThe server, acting as a gateway/proxy, received an invalid response from the upstream server.
503Service UnavailableThe server is temporarily unavailable (maintenance or overload).
504Gateway TimeoutThe server, acting as a gateway/proxy, did not get a timely response from upstream.
507Insufficient StorageThe server has insufficient storage to complete the request (WebDAV).
508Loop DetectedThe server detected an infinite loop while processing the request (WebDAV).
511Network Authentication RequiredThe client needs to authenticate to gain network access (captive portal).