HTTP Status Codes

A complete, searchable reference of HTTP response status codes from 1xx through 5xx, including WebDAV extensions and the CDN-specific 52x family. Each entry explains what the code really signals and when you should use it.

69 entries

CodeNameCategoryMeaning
100Continue1xx InformationalThe client should continue with its request. Sent in response to an Expect: 100-continue header.
101Switching Protocols1xx InformationalThe server is switching protocols as requested — used to upgrade an HTTP connection to WebSocket.
102Processing1xx InformationalWebDAV. The server has accepted the request but has not completed it yet.
103Early Hints1xx InformationalSends Link headers early so the browser can preload assets before the final response arrives.
200OK2xx SuccessThe request succeeded. The meaning depends on the method: GET returns the resource, POST returns the result.
201Created2xx SuccessThe request succeeded and a new resource was created. The Location header points to it.
202Accepted2xx SuccessThe request was accepted for processing but is not complete. Common for asynchronous jobs.
203Non-Authoritative Information2xx SuccessThe response was modified by a proxy and may differ from the origin.
204No Content2xx SuccessSuccess, but there is no body to return. Often used for DELETE and for form submissions that should not navigate.
205Reset Content2xx SuccessSuccess. The client should reset the document view, for example clear a form.
206Partial Content2xx SuccessOnly part of the resource was sent, in response to a Range header. Used for resumable downloads and video seeking.
207Multi-Status2xx SuccessWebDAV. The body contains separate status codes for multiple sub-requests.
208Already Reported2xx SuccessWebDAV. Members of a binding have already been enumerated.
226IM Used2xx SuccessThe server applied delta encoding to the response.
300Multiple Choices3xx RedirectThe request has more than one possible response. The client should choose.
301Moved Permanently3xx RedirectThe resource has permanently moved. Search engines transfer ranking to the new URL. Browsers cache this aggressively.
302Found3xx RedirectTemporary redirect. The original URL keeps its ranking. The method may be changed to GET by some clients.
303See Other3xx RedirectFetch the new URL with GET. Used after a POST to avoid resubmission on refresh.
304Not Modified3xx RedirectThe cached copy is still valid, so no body is sent. Triggered by If-None-Match or If-Modified-Since.
305Use Proxy3xx RedirectDeprecated. The resource must be accessed through a proxy.
307Temporary Redirect3xx RedirectLike 302 but the HTTP method and body must not be changed.
308Permanent Redirect3xx RedirectLike 301 but the HTTP method and body must not be changed.
400Bad Request4xx Client ErrorThe server could not understand the request — malformed syntax, invalid framing or a deceptive request.
401Unauthorized4xx Client ErrorAuthentication is required or has failed. Despite the name this means unauthenticated, not unauthorised.
402Payment Required4xx Client ErrorReserved for future use. Occasionally used by APIs to signal quota exhaustion.
403Forbidden4xx Client ErrorThe server understood the request but refuses it. Unlike 401, authenticating will not help.
404Not Found4xx Client ErrorThe server cannot find the resource. The most common error on the web — it does not say whether the resource ever existed.
405Method Not Allowed4xx Client ErrorThe method is known but not supported for this resource. The Allow header lists what is permitted.
406Not Acceptable4xx Client ErrorNo representation matches the Accept headers sent by the client.
407Proxy Authentication Required4xx Client ErrorLike 401 but authentication must be done with the proxy.
408Request Timeout4xx Client ErrorThe server timed out waiting for the request. Often sent on idle keep-alive connections.
409Conflict4xx Client ErrorThe request conflicts with the current state, for example an edit based on a stale version.
410Gone4xx Client ErrorThe resource is permanently gone with no forwarding address. Stronger than 404 and removes it from search indexes faster.
411Length Required4xx Client ErrorThe server requires a Content-Length header.
412Precondition Failed4xx Client ErrorA condition in the request headers (such as If-Match) evaluated to false.
413Content Too Large4xx Client ErrorThe request body is larger than the server will accept. Previously "Payload Too Large".
414URI Too Long4xx Client ErrorThe requested URL is longer than the server will interpret.
415Unsupported Media Type4xx Client ErrorThe body format is not supported — usually a wrong or missing Content-Type.
416Range Not Satisfiable4xx Client ErrorThe Range header asks for a portion that does not exist.
417Expectation Failed4xx Client ErrorThe expectation in the Expect header could not be met.
418I'm a teapot4xx Client ErrorAn April Fools joke from RFC 2324 that became a real convention. Some servers use it to reject automated traffic.
421Misdirected Request4xx Client ErrorThe request was sent to a server that cannot produce a response for this authority. Common with HTTP/2 connection reuse.
422Unprocessable Content4xx Client ErrorThe syntax is correct but the content is semantically invalid. Widely used by APIs for validation failures.
423Locked4xx Client ErrorWebDAV. The resource is locked.
424Failed Dependency4xx Client ErrorWebDAV. The request failed because a previous request failed.
425Too Early4xx Client ErrorThe server will not risk processing a request that might be replayed.
426Upgrade Required4xx Client ErrorThe client must switch protocols, listed in the Upgrade header.
428Precondition Required4xx Client ErrorThe server requires a conditional request to prevent lost updates.
429Too Many Requests4xx Client ErrorThe client has sent too many requests. Check the Retry-After header before retrying.
431Request Header Fields Too Large4xx Client ErrorThe headers are too large — often an oversized cookie.
451Unavailable For Legal Reasons4xx Client ErrorAccess denied for legal reasons such as censorship or a takedown. The number references Fahrenheit 451.
500Internal Server Error5xx Server ErrorA generic server failure with no more specific message. Check the server logs.
501Not Implemented5xx Server ErrorThe server does not support the functionality required to fulfil the request.
502Bad Gateway5xx Server ErrorA gateway or proxy got an invalid response from the upstream server.
503Service Unavailable5xx Server ErrorThe server is temporarily overloaded or down for maintenance. Should include Retry-After.
504Gateway Timeout5xx Server ErrorA gateway or proxy did not get a response from upstream in time.
505HTTP Version Not Supported5xx Server ErrorThe HTTP version used in the request is not supported.
506Variant Also Negotiates5xx Server ErrorA content negotiation configuration error on the server.
507Insufficient Storage5xx Server ErrorWebDAV. Not enough storage to complete the request.
508Loop Detected5xx Server ErrorWebDAV. An infinite loop was detected while processing the request.
510Not Extended5xx Server ErrorFurther extensions are required for the server to fulfil the request.
511Network Authentication Required5xx Server ErrorThe client must authenticate to gain network access. Used by captive portals.
520Unknown Error (CDN)5xx Server ErrorCDN-specific. The origin returned something the edge could not interpret.
521Web Server Is Down (CDN)5xx Server ErrorCDN-specific. The origin refused the connection.
522Connection Timed Out (CDN)5xx Server ErrorCDN-specific. The TCP handshake with the origin did not complete.
523Origin Is Unreachable (CDN)5xx Server ErrorCDN-specific. The origin could not be routed to — often a DNS or firewall problem.
524A Timeout Occurred (CDN)5xx Server ErrorCDN-specific. The connection succeeded but the origin did not answer in time.
525SSL Handshake Failed (CDN)5xx Server ErrorCDN-specific. The TLS handshake with the origin failed — usually a certificate or cipher mismatch.
526Invalid SSL Certificate (CDN)5xx Server ErrorCDN-specific. The origin certificate could not be validated.

About this reference

A complete, searchable reference of HTTP response status codes from 1xx through 5xx, including WebDAV extensions and the CDN-specific 52x family. Each entry explains what the code really signals and when you should use it.

This page is static data served straight from the edge, so it loads instantly and works without JavaScript. Filtering happens in your browser — nothing you type is sent anywhere.