The server received the request headers and the client should go ahead and send the request body. Only sent when the client asked with Expect: 100-continue.
Common causes
The client sent Expect: 100-continue before a large upload (curl does this automatically for large request bodies).
The server wants to confirm it will accept the body before the client transmits it.
When to use
Normally handled transparently by HTTP libraries.
If uploads stall for about a second before starting, a proxy may not answer the Expect header — disable it in the client (e.g. curl -H "Expect:").
The server agrees to switch to the protocol named in the client's Upgrade header, most commonly to open a WebSocket connection.
Common causes
A WebSocket handshake (Upgrade: websocket).
An HTTP/1.1 Upgrade to another protocol such as h2c.
When to use
Expected for WebSockets — the connection then speaks the new protocol.
If WebSockets fail behind a reverse proxy, make sure it forwards the Upgrade and Connection headers (nginx: proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade").
HTTP/2 and HTTP/3 don't use 101; WebSockets over them use extended CONNECT instead.
An interim response carrying Link headers (preload, preconnect) so the browser can start fetching critical resources while the server is still preparing the final response.
Common causes
The server or CDN is configured to send early hints for stylesheets, fonts or third-party origins.
When to use
Use it for resources that every page needs, such as the main CSS file or font origin.
Chromium-based browsers act on Early Hints only over HTTP/2 and HTTP/3, and only for preconnect and preload.
SEO impact: No direct ranking effect, but starting critical downloads earlier can improve Largest Contentful Paint (a Core Web Vitals metric).
2xx Success
The request was received, understood and accepted.
The request succeeded. For GET the body contains the resource; for POST it contains the result of the action.
Common causes
A normal, successful request.
When to use
Use for successful responses that return a body.
Don't return 200 for errors ("200 OK" with an error page) — clients, caches and crawlers will treat the error as real content.
SEO impact: Pages returning 200 can be indexed. If a "not found" or empty page returns 200, Google reports it as a soft 404 — return a real 404 or 410 instead.
The server is returning only part of the resource, as requested by the client's Range header.
Common causes
Video and audio streaming, resumable downloads, download managers fetching chunks in parallel.
When to use
Expected behavior. If downloads can't be resumed or videos can't be seeked, make sure the server sends Accept-Ranges: bytes and handles Range requests.
Browsers may change a POST into a GET when following a 301 — use 308 when the method must be preserved.
Avoid redirect chains: point old URLs directly to the final destination and update internal links.
Browsers cache 301s aggressively, so test before deploying.
SEO impact: Strong signal that the target should be the canonical URL; ranking signals are consolidated on it. Keep redirects in place for at least a year — ideally indefinitely. Googlebot follows up to 10 hops.
Like 301, clients may switch POST to GET — use 307 to keep the method.
If the move is permanent, change it to 301 or 308.
SEO impact: Weak canonical signal: Google usually keeps the original URL indexed. A 302 left in place for a long time may eventually be treated as permanent, but don't rely on it.
The server can't process the request because of a client error such as malformed syntax or invalid framing.
Common causes
Malformed JSON or a body that doesn't match Content-Type.
Invalid or missing parameters.
Oversized or corrupted cookies (nginx shows "400 Request Header Or Cookie Too Large").
Invalid characters or encoding in the URL.
How to fix
Validate the request against the API documentation.
Clear the site's cookies if a browser suddenly gets 400 on every page.
APIs should explain the problem in the body, e.g. with application/problem+json (RFC 9457).
SEO impact: Google doesn't index URLs that return a 4xx code (except 429), and already indexed URLs are dropped after recrawl. 4xx responses don't slow down crawling.
The request lacks valid authentication credentials. The response must include a WWW-Authenticate header describing how to authenticate.
Common causes
Missing, expired or malformed Authorization header, token or API key.
Wrong username or password for HTTP Basic auth.
Clock skew making a JWT look expired or not yet valid.
How to fix
Send valid credentials; refresh expired tokens.
Remember the difference: 401 means "who are you?", 403 means "I know who you are, and the answer is no".
SEO impact: Googlebot can't index pages behind authentication. Protecting staging sites with 401 (HTTP auth) is the reliable way to keep them out of search results.
The server can't find the requested resource. It doesn't say whether the absence is temporary or permanent.
Common causes
The page was deleted or moved without a redirect.
Broken internal or external links and typos in the URL.
Case-sensitive paths on Linux servers (/About vs /about).
Single-page apps: refreshing a client-side route when the server isn't configured to fall back to index.html.
How to fix
301-redirect moved content to its closest equivalent.
Fix internal links; monitor 404s in server logs or Search Console.
Serve a helpful custom 404 page — but keep the 404 status code.
SEO impact: Normal for content that doesn't exist and doesn't hurt the rest of the site. The URL drops out of the index after recrawl. Avoid soft 404s, including mass-redirecting every missing URL to the homepage.
The resource exists but doesn't support the request method. The response must include an Allow header listing the supported methods.
Common causes
POSTing to a static file or a GET-only route.
A form whose method doesn't match the server route.
Missing handlers for PUT, PATCH, DELETE or the CORS preflight OPTIONS request.
How to fix
Use one of the methods in the Allow header, or add a handler for the method on the server.
SEO impact: Google doesn't index URLs that return a 4xx code (except 429), and already indexed URLs are dropped after recrawl. 4xx responses don't slow down crawling.
The server can't produce a representation matching the request's Accept, Accept-Language or Accept-Encoding headers.
Common causes
A client demanding a single format the server doesn't offer (e.g. Accept: application/xml).
Some shared hosts' mod_security rules respond with 406.
How to fix
Relax the Accept header (or send */*), or make the server fall back to a default representation.
SEO impact: Google doesn't index URLs that return a 4xx code (except 429), and already indexed URLs are dropped after recrawl. 4xx responses don't slow down crawling.
The request was sent to a server that can't produce a response for this origin (scheme + host + port).
Common causes
HTTP/2 connection reuse: a browser reuses a connection for a second hostname covered by the same TLS certificate, but the server isn't configured for that host.
TLS SNI and Host header mismatches behind load balancers.
How to fix
Align TLS certificates and virtual-host configuration, or return 421 deliberately so the client retries on a new connection.
The client sent too many requests in a given time (rate limiting). A Retry-After header may say how long to wait.
Common causes
API rate limits or quotas.
Login brute-force protection.
Scrapers, bots or misbehaving retry loops.
How to fix
Respect Retry-After; retry with exponential backoff and jitter.
Cache responses and batch requests.
Servers should send Retry-After (and ideally RateLimit headers) so clients can adapt.
SEO impact: Unlike other 4xx codes, Google treats 429 like a server error: Googlebot slows its crawl rate, and URLs that keep returning 429 can eventually drop out of the index.
A generic error: the server hit an unexpected condition that prevented it from fulfilling the request.
Common causes
Unhandled exceptions or fatal errors in application code.
Syntax errors in .htaccess or server configuration.
Failed database connections or missing environment variables.
Wrong permissions on scripts (e.g. CGI/PHP files).
How to fix
Check the application and web-server error logs — the real cause is there.
Reproduce with debugging enabled locally; never show stack traces to users in production.
SEO impact: 5xx responses make Googlebot temporarily slow down crawling. Indexed URLs are kept at first but are eventually dropped if the errors persist.
The server doesn't support the functionality required to fulfil the request, typically an unrecognized request method.
Common causes
A method the server doesn't know (e.g. PATCH or a custom method on an old server).
An unsupported Transfer-Encoding.
How to fix
Use a supported method. Use 405 instead when the method is known but not allowed for this particular resource.
SEO impact: 5xx responses make Googlebot temporarily slow down crawling. Indexed URLs are kept at first but are eventually dropped if the errors persist.
A gateway or reverse proxy received an invalid response from the upstream server it forwarded the request to.
Common causes
The application server (PHP-FPM, Node.js, Gunicorn…) crashed, isn't running or listens on a different port/socket.
The upstream closed the connection early or returned malformed headers.
Response headers too large for proxy buffers (nginx: "upstream sent too big header").
Keep-alive mismatch: the app's idle timeout is shorter than the load balancer's (e.g. AWS ALB).
How to fix
Check that the upstream process is running and read the proxy's error log.
Increase proxy_buffer_size for large headers.
Set the app's keep-alive timeout longer than the load balancer's idle timeout.
SEO impact: 5xx responses make Googlebot temporarily slow down crawling. Indexed URLs are kept at first but are eventually dropped if the errors persist.
The server is temporarily unable to handle the request (overload or maintenance). A Retry-After header can say when to try again.
Common causes
Planned maintenance mode.
Overload or exhausted worker pools.
A load balancer with no healthy targets.
Auto-scaling that hasn't caught up with a traffic spike.
How to fix
Scale capacity and fix failing health checks.
For planned downtime, return 503 with Retry-After instead of a maintenance page with status 200.
SEO impact: The correct way to signal temporary downtime: Googlebot backs off and retries later. Outages of a few hours are harmless; if 5xx lasts for days, URLs start dropping from the index. A 5xx on robots.txt makes Google pause crawling the whole site.
A gateway or proxy didn't receive a response from the upstream server in time.
Common causes
Slow database queries or external API calls.
Long-running requests exceeding proxy timeouts (nginx proxy_read_timeout defaults to 60 s, AWS ALB idle timeout to 60 s).
An upstream that hangs or is network-unreachable.
How to fix
Find and optimize the slow operation.
Move long tasks to a background job and return 202 Accepted.
Raise timeouts only as a last resort, and consistently across all layers.
SEO impact: 5xx responses make Googlebot temporarily slow down crawling. Indexed URLs are kept at first but are eventually dropped if the errors persist.
The client must authenticate to gain network access — sent by captive portals, not by origin servers.
Common causes
Hotel, airport or café Wi-Fi login pages intercepting traffic.
How to fix
Open any http:// page in a browser to reach the portal and log in or accept the terms.
Unofficial & vendor-specific codes
Not registered with IANA, but used by popular servers, CDNs, load balancers and frameworks. Some (like nginx's 444 and 499) only ever appear in server logs.
From the 1998 April Fools' Hyper Text Coffee Pot Control Protocol: a teapot refusing to brew coffee. RFC 9110 lists 418 as "(Unused)" and reserves it because it is so widely implemented as a joke.
Common causes
Easter eggs, and some sites or frameworks returning it to bots and scrapers they want to turn away.
What to do
Don't use it for real errors — pick a meaningful 4xx code.
A non-standard "overloaded" signal. Qualys SSL Labs uses it, and some APIs (for example Anthropic's) return 529 when the service is temporarily overloaded.
Cloudflare returns 530 together with a 1xxx error page (such as 1016 Origin DNS error) — the 1xxx code tells you the real problem. Pantheon uses 530 for a frozen site.
Common causes
Origin DNS problems or other Cloudflare 1xxx conditions.
What to do
Look up the 1xxx error number shown on the page in Cloudflare's documentation.
LinkedIn returns 999 to requests it believes are automated — scrapers, link checkers and some crawlers.
Common causes
Non-browser user agents, datacenter IPs or high request rates hitting linkedin.com.
What to do
Usually a false positive in broken-link reports — check the link in a browser.
SEO impact: SEO audit tools often flag LinkedIn links as broken because of 999; the links normally work for real visitors.
What is the HTTP Status Codes Reference?
An HTTP status code is the three-digit number a server sends at the start of every response to say how the request went. The first digit sets the class: 1xx informational, 2xx success, 3xx redirection, 4xx client error and 5xx server error. Clients that don't recognize a specific code treat it like the x00 code of its class, which is why a new code such as 425 Too Early can be introduced without breaking older software.
This reference lists every code in the IANA HTTP Status Code Registry — defined mostly in RFC 9110 (HTTP Semantics, 2022) plus WebDAV and other extensions — with the current official names, such as 413 Content Too Large and 422 Unprocessable Content. Each entry explains what the code means, what typically triggers it, and how to fix it or when to send it. A separate section covers widely seen non-standard codes: nginx's 444 and 499, Cloudflare's 520–526 origin errors, AWS load balancer codes, Laravel's 419 and LinkedIn's 999.
For redirects and errors the cards also describe how Google handles each code: 301 and 308 consolidate signals on the new URL while 302 and 307 usually keep the old one indexed, 404 and 410 remove pages from the index, and 429 or 5xx responses slow crawling — so 503 with a Retry-After header is the right answer during maintenance. Link to any code directly with its anchor, for example /tools/http-status-codes#404.
Frequently asked questions
What's the difference between 301 and 302 redirects?
301 Moved Permanently says the old URL is gone for good, so browsers cache the redirect and search engines move ranking signals to the new URL. 302 Found is temporary: the original URL stays the canonical one. Both may turn a POST into a GET; their method-preserving equivalents are 308 (permanent) and 307 (temporary).
Should I return 404 or 410 for deleted pages?
Both remove the page from Google's index and neither hurts the rest of your site. 410 Gone explicitly says the removal is intentional and permanent, and may be processed slightly faster; 404 is fine when you don't know or don't care. If the content moved, use a 301 redirect instead.
What's the difference between 401 and 403?
401 Unauthorized means the request isn't authenticated — log in or send a valid token and try again; the server must include a WWW-Authenticate header. 403 Forbidden means the server knows who you are (or doesn't need to) and still refuses; authenticating again won't help.
What causes 502 Bad Gateway vs 504 Gateway Timeout?
Both come from a proxy or load balancer in front of your application. 502 means the upstream sent an invalid response or closed the connection — often the app crashed or isn't running. 504 means the upstream didn't answer within the proxy's timeout — usually a slow query or long-running request.
Which status code should a site return during maintenance?
503 Service Unavailable, ideally with a Retry-After header (seconds or an HTTP date). Search engines treat it as temporary and come back later, while a maintenance page served with 200 could be indexed in place of your real content.
Is 418 I'm a teapot a real status code?
It comes from an April Fools' RFC (2324) about controlling coffee pots. It was never officially assigned, but because so many servers implement it as an easter egg, RFC 9110 reserves 418 as “unused” so it won't be given another meaning.