All 62 IANA status codes searchable by number or keyword, with fixes.
62 / 62 · All 62 IANA-registered status codes
| Code | Name | Class | Typical cause | Troubleshooting |
|---|---|---|---|---|
| 100 | Continue | Informational | Client sent Expect: 100-continue; the server invites the request body. | Interim only — the real status arrives after the body. |
| 101 | Switching Protocols | Informational | Upgrade header negotiated a protocol switch (HTTP → WebSockets). | Check the Upgrade and Connection response headers. |
| 102 | Processing | Informational | WebDAV: request received and in progress, but slow. | Wait — a final status follows; do not retry yet. |
| 103 | Early Hints | Informational | Server sends hint headers (e.g. Link: preload) before the final response. | Use it to warm preloads while the app builds the page. |
| 200 | OK | Success | The request succeeded and the body carries the result. | Not a freshness promise — read Cache-Control before caching. |
| 201 | Created | Success | POST or PUT created a resource; Location points at it. | Follow Location to fetch the new resource URL. |
| 202 | Accepted | Success | Queued for async processing; not finished yet. | Poll a status endpoint or subscribe to a webhook. |
| 203 | Non-Authoritative Information | Success | A proxy returned a transformed copy, not the origin's exact payload. | Treat metadata (headers) as possibly stale. |
| 204 | No Content | Success | Success with an intentionally empty body (DELETE, PUT). | 204 must have no body — use 200 with a body if you need one. |
| 205 | Reset Content | Success | Success; the client should reset the form that sent the request. | Rare today; mostly legacy form flows. |
| 206 | Partial Content | Success | A Range request was satisfied; Content-Range describes the slice. | Resume downloads with Range + If-Range validators. |
| 207 | Multi-Status | Success | WebDAV (RFC 4918): several operations reported together in one XML body. | Parse the <d:response> elements — per-resource statuses live inside. |
| 208 | Already Reported | Success | WebDAV bindings (RFC 5842): members already enumerated earlier are omitted. | Prevents infinite loops when a collection binds to itself. |
| 226 | IM Used | Success | RFC 3229 delta encoding: the served instance is an incremental manipulation. | Rare — needs A-IM support on both client and server. |
| 300 | Multiple Choices | Redirection | The resource has several representations and the server lists them. | Rare — servers usually pick via content negotiation. |
| 301 | Moved Permanently | Redirection | The URL changed for good; search engines transfer link equity. | Update sitemaps and bookmarks; keep the redirect indefinitely. |
| 302 | Found | Redirection | Temporary redirect; historic behavior may switch POST to GET. | Need the method preserved? Use 307 instead. |
| 303 | See Other | Redirection | Redirect to a different URL with GET (Post/Redirect/Get pattern). | The classic PRG partner after a form POST. |
| 304 | Not Modified | Redirection | Conditional headers (If-None-Match) matched the ETag — cache still fresh. | No body by design; this is a full-download avoided. |
| 305 | Use Proxy | Redirection | Obsolete security risk; modern clients ignore it. | Do not implement — listed for completeness. |
| 307 | Temporary Redirect | Redirection | Like 302 but the method and body are preserved. | The correct way to redirect a POST temporarily. |
| 308 | Permanent Redirect | Redirection | Like 301 but the method and body are preserved. | Prefer over 301 for permanent non-GET redirects. |
| 400 | Bad Request | Client error | Malformed syntax the server refuses to process. | Log the exact body you sent; validate client-side too. |
| 401 | Unauthorized | Client error | Really means unauthenticated: missing or invalid credentials. | Check WWW-Authenticate; refresh the token, then retry. |
| 402 | Payment Required | Client error | Reserved since 1997; de facto "paid plan required" in commercial APIs. | Expect it behind API paywalls, not from browsers. |
| 403 | Forbidden | Client error | The server knows who you are and still refuses (permissions, IP rules). | Unlike 401, re-authenticating will not necessarily fix it. |
| 404 | Not Found | Client error | No resource at this URI — or it exists and is hidden deliberately. | Check casing, trailing slashes, and auth masking. |
| 405 | Method Not Allowed | Client error | The URI exists but not for that verb (e.g. POST to a GET-only route). | The Allow header lists supported methods. |
| 406 | Not Acceptable | Client error | No representation matches your Accept headers. | Content negotiation failed — loosen the Accept value. |
| 407 | Proxy Authentication Required | Client error | A proxy in front of the origin demands credentials. | Send Proxy-Authorization, not Authorization. |
| 408 | Request Timeout | Client error | The client took too long to finish sending the request. | Usually flaky networks; safe to retry idempotent calls. |
| 409 | Conflict | Client error | State clash: duplicate key, stale version, edit collision. | Read the body — it usually names the conflicting field. |
| 410 | Gone | Client error | Deliberately removed; stronger than 404 — do not ask again. | SEO signal to delist the URL for good. |
| 411 | Length Required | Client error | Server demands Content-Length and refuses chunked framing. | Send Content-Length, or fix your chunked encoding. |
| 412 | Precondition Failed | Client error | An If-Match / If-Unmodified-Match guard rejected the write. | Optimistic concurrency — refetch, merge, retry. |
| 413 | Content Too Large | Client error | Request body exceeds the server's size limit. | Raise the server limit or upload in parts. |
| 414 | URI Too Long | Client error | The address exceeds what the server will parse. | Move oversized query data into a POST body. |
| 415 | Unsupported Media Type | Client error | The body format (Content-Type) is not supported here. | JSON APIs: send application/json with a charset. |
| 416 | Range Not Satisfiable | Client error | The Range asks for bytes outside the resource size. | Compare Content-Length with your offsets. |
| 417 | Expectation Failed | Client error | An Expect header cannot be met. | Usually Expect: 100-continue stripped by a proxy. |
| 418 | I'm a teapot | Client error | RFC 2324 April Fools joke; a few servers answer it for real. | Easter egg — never build on it. |
| 421 | Misdirected Request | Client error | This connection cannot serve that Host (SNI / HTTP-2 routing). | Retry on a fresh connection to the right host. |
| 422 | Unprocessable Content | Client error | Syntactically valid but semantically invalid (validation failure). | The validation workhorse of JSON:API and Rails apps. |
| 423 | Locked | Client error | WebDAV: the resource is locked by someone else. | Check the lock token before retrying. |
| 424 | Failed Dependency | Client error | WebDAV: an earlier request in the batch failed, so this one aborted. | Fix the dependency, not this request. |
| 425 | Too Early | Client error | Server refuses possibly-replayed data (TLS 1.3 early data). | Retry after the handshake finalizes. |
| 426 | Upgrade Required | Client error | The client must switch protocols (typically to TLS). | Read the Upgrade header and comply. |
| 428 | Precondition Required | Client error | The server demands conditional requests to avoid lost updates. | Send If-Match on writes to state-changing endpoints. |
| 429 | Too Many Requests | Client error | Rate limit or quota exceeded. | Honor Retry-After; back off exponentially with jitter. |
| 431 | Request Header Fields Too Large | Client error | Headers exceed the limit — oversized cookies are the usual culprit. | Clear cookies; shrink JWTs and custom headers. |
| 451 | Unavailable For Legal Reasons | Client error | Blocked by a legal demand: geo-blocks, court orders, DMCA. | The body or Link header usually cites the policy. |
| 500 | Internal Server Error | Server error | Unhandled server exception — the generic "we broke it". | Correlate server logs with the request timestamp. |
| 501 | Not Implemented | Server error | The server does not support that method or feature at all. | Not transient — you need a different approach. |
| 502 | Bad Gateway | Server error | An upstream returned garbage to the gateway or proxy. | The fault sits between proxy and origin; retry later. |
| 503 | Service Unavailable | Server error | Overloaded, or down for maintenance. | Honor Retry-After; shed load, do not hammer. |
| 504 | Gateway Timeout | Server error | The upstream did not answer within the timeout. | Unlike 502: nothing came back at all. |
| 505 | HTTP Version Not Supported | Server error | The server refuses this protocol version. | Retry with HTTP/1.1. |
| 506 | Variant Also Negotiates | Server error | Transparent content negotiation is misconfigured. | Server config error; extremely rare. |
| 507 | Insufficient Storage | Server error | WebDAV: the server cannot store the resource (disk full). | Server-side capacity issue — not your payload. |
| 508 | Loop Detected | Server error | WebDAV: the operation hit an infinite loop. | Look for redirect or binding cycles. |
| 510 | Not Extended | Server error | A required extension policy was not met. | Experimental and near-extinct; see RFC 2774. |
| 511 | Network Authentication Required | Server error | A captive portal (hotel/airport Wi-Fi) wants a login first. | The portal intercepted the request; log in via the body page. |
🧭 The classic confusions: 401 is "who are you" and 403 is "I know you — no"; 307/308 preserve the method while 301/302 may not; 502 means garbage came back from upstream, 504 means nothing did. Codes outside this table (e.g. Cloudflare 52x or 599) are vendor extensions, not IANA-registered.
1xx means "hold on, I'm not done". 2xx means "done, and it worked". 3xx means "what you want is elsewhere". 4xx means "you (the client) must change something". 5xx means "the server broke, retrying identically rarely helps". That last split is the one that saves debugging time: for 4xx inspect your request, for 5xx inspect the server logs — never the other way around.
401 is authentication ("who are you?") while 403 is authorization ("I know you — no"). 301 and 302 are the historic redirects that browsers may turn into GETs; 307 and 308 guarantee the method and body survive. 502 means the upstream answered with garbage, 504 means it never answered at all — different blame, different fixes. And 402 has been "reserved for future use" since 1997; the future turned out to be SaaS billing APIs.
Search engines read status codes as instructions: 404 says "not here", 410 says "gone on purpose, stop asking" — delisting faster than 404. 503 with a Retry-After header signals maintenance rather than death, keeping a temporarily dark site in the index. Redirect chains matter too: each 301 hop dilutes a little speed and clarity, so collapse A→B→C into A→C.
All 62 IANA-registered codes are here; the vendor extensions are deliberately not. Cloudflare's 52x family, nginx's 499 (client closed the connection), and various APIs' homegrown 599 all behave per-vendor and can mean different things in different stacks. When you meet one, the vendor's own docs — not the HTTP standard — are the authority.
More tools you might find useful
Registry country lengths plus the ISO 7064 mod-97 checksum, in your browser.
Turn an image into a Base64 data URI for inline embedding.
Inspect IP quality, ASN type, fraud score, and timezone consistency.
Compute netmask, network, broadcast, and host range from CIDR.