Skip to content

HTTP Status Codes List (Every Error Code Explained)

A man looks stressed while working on a laptop indoors.

By Tech Success Communications Editorial Team | Checked 23 Nov 2026

A man looks stressed while working on a laptop indoors.
Every HTTP error code is a short message from the server about what went wrong. Photo: Thirdman / Pexels.

HTTP error codes are the three-digit numbers a web server sends back when a request fails, such as 404 for a missing page or 500 for a server fault. The first digit tells you which side has the problem: 4xx codes point at the request, and 5xx codes point at the server.

This page lists every common HTTP status code in plain English, with the fix for each one. Codes with their own full guide here get a short summary and a link.

What Is an HTTP Error?

Every time a browser or app asks a server for a page, image, or file, the server answers with a three-digit status code. Most of the time the code is 200, which means success, and you never see it. You only notice it when something goes wrong and the browser shows an error page instead.

The codes are defined in RFC 9110, the current HTTP standard, and listed in the official registry kept by IANA. The first digit puts each code into one of five classes:

ClassRangeMeaningIs it an error?
1xx Informational100–199The request was received and is still being processedNo
2xx Success200–299The request succeededNo
3xx Redirection300–399The browser must go somewhere else, or use its cached copyNo, unless the redirects loop
4xx Client error400–499The request itself is wrong, so the server will not process itYes
5xx Server error500–599The request looked fine, but the server failed to complete itYes

Read the first digit first: a 4xx code is usually fixed by the visitor or the person who wrote the link, while a 5xx code can only be fixed by the site owner. For errors that are not HTTP codes at all, see our guide to error code fixes.

How to Check the Status Code of Any Page

You do not need special software to see the code behind an error page. In Chrome or Edge, press F12 to open DevTools, click the Network tab, reload the page, and look at the Status column. Firefox has the same Network tab. The number there is the real status code, even when the page shows a friendly custom message.

From a terminal, curl -I https://example.com/page prints the response headers, including the status line. Add -L to follow a redirect to the final page.

One trap catches developers: JavaScript fetch() does not reject on HTTP error status. MDN documents that a fetch() promise does not reject when the server responds with error codes such as 404 or 504, so code must check response.ok or response.status itself. Payment APIs use these same codes, so an API error means the same thing as a browser error.

A programmer types code on a laptop with code visible on the screen.
Developers can read the status code in the browser Network tab or with curl. Photo: Sora Shimazaki / Pexels.

1xx Informational Responses

1xx codes are interim replies: the server is saying “I got your request, keep going” before the final response. Visitors never see them, and there is nothing to fix when they appear in a log.

CodeNameWhat it means
100ContinueThe server accepted the request headers; the client should send the body.
101Switching ProtocolsThe server agrees to switch protocols, for example to WebSocket.
102ProcessingThe server has received the request and is still working on it. A WebDAV code that MDN notes is deprecated and no longer used.
103Early HintsThe server sends Link headers early so the browser can preload stylesheets and scripts while the page is still being generated.

2xx Success Responses

2xx codes mean the request worked. They are not errors, but they help you read logs and API responses.

CodeNameWhat it means
200OKThe request succeeded, and the response body holds the result.
201CreatedA new resource was created, usually after a POST request.
202AcceptedThe request was received but not yet acted on.
203Non-Authoritative InformationThe response came from a third-party copy, not the origin server.
204No ContentSuccess, with no body to return.
205Reset ContentSuccess, and the browser should reset the document that sent the request.
206Partial ContentOnly part of the resource was returned, in answer to a Range request, which is how resumed downloads work.
207 / 208Multi-Status / Already ReportedWebDAV codes for responses about several resources at once.
226IM UsedThe server fulfilled a GET request using instance manipulations, for HTTP delta encoding.

3xx Redirection: 301, 302, 303, 304, 307 and 308

Redirects are the most misunderstood HTTP codes: they are not errors at all. A 3xx code tells the browser to fetch the resource from a different address, or to reuse the copy it already has. They only become a problem as a loop, a long chain, or a pointer at the wrong page.

300 Error: Multiple Choices

The resource has more than one possible response, and the browser or user should choose one. MDN notes there is no standard way for clients to pick automatically, so the code is rarely used. The 300 errors are redirection responses, not failures.

301 Error: Moved Permanently

A 301 error means the page has moved to a new address for good. The new URL is given in the Location header, and the browser follows it automatically. Search engines treat a 301 as a signal to replace the old URL with the new one, so this is the correct code for a permanent move or a site migration.

A 301 is not a problem by itself. It becomes one when the old URL stays in your sitemap or internal links, forcing every visitor through an extra hop, or when the target page is itself a 404. To fix error 301 on your own site, update links and sitemaps to point straight at the final URL.

302 Error: Found

A 302 error means the page is temporarily at a different address. The browser should follow the redirect this time but keep using the original URL afterwards, because the move may be undone. Use a 302 for a short-term change, such as a temporary promotion page.

The common mistake is using a 302 for a permanent move. Search engines keep the old URL indexed, and ranking signals stay with an address that no longer serves content. If the move is permanent, use a 301 instead. Google treats long-standing 302 redirects as 301s over time, but that is a fallback, not a plan. If a permanent move is using a 302, the HTTP 302 error fix is simple: change the redirect to a 301.

303 Error: See Other

A 303 tells the client to fetch the result at another URI using a GET request. Its classic use is after a form submission: the server accepts the POST, then answers 303 pointing at a confirmation page, so refreshing does not resubmit the form.

304 Error: Not Modified

A 304 error is not an error at all. It means the cached copy is still valid, so the browser should keep using it. The server sends it in answer to a conditional request: the browser sends If-None-Match with the cached ETag or If-Modified-Since with the cached date, and if nothing changed, the server replies 304 with no body.

A 304 in your logs means caching is working and saving bandwidth. It becomes a problem only when a changed page keeps returning 304, which points at wrong cache headers or a stale cache. Clear the site cache and check the Cache-Control and ETag headers.

307 Error: Temporary Redirect

A 307 error is a temporary redirect that keeps the original request method. That is the difference from a 302: if the first request was a POST, the redirected request must also be a POST, with the same body. Use 307 where the method matters, such as an API endpoint or a form action.

308 Error: Permanent Redirect

A 308 error is the permanent version of a 307. Like a 301, it says the resource has moved for good, but it requires the client to repeat the same method on the new URL. Use 308 instead of 301 when a POST or PUT must stay a POST or PUT after the move.

301 vs 302 vs 307 vs 308

Most questions come down to 301 errors versus 302 errors, and whether the request method survives the redirect.

CodePermanent or temporary?Keeps the request method?Use it when
301 Moved PermanentlyPermanentNo, browsers usually switch to GETA page moved for good
302 FoundTemporaryNo, browsers usually switch to GETA page moved for a short time
307 Temporary RedirectTemporaryYesA temporary move where POST must stay POST
308 Permanent RedirectPermanentYesA permanent move where POST must stay POST

The rule of thumb: permanent moves get 301 or 308, temporary moves get 302 or 307, and anything involving a form or API call gets 307 or 308 so the method survives the redirect.

Redirect Loops and Chains

A redirect loop is when URL A points to URL B and URL B points back to A, or a rule points a URL at itself. The browser gives up after too many hops and shows ERR_TOO_MANY_REDIRECTS instead of a number. Chains are the slower version: A points to B, B to C, and C to D. Each hop costs time and dilutes ranking signals.

Fix loops by finding the two rules that disagree, usually a server rule forcing HTTPS while a plugin forces the old address, or a trailing-slash rule fighting a no-trailing-slash rule. Fix chains by pointing every old URL straight at the final destination in one hop.

Fixing the Google Search Console Redirect Error

The “google search console redirect error fix” is a different problem from an ordinary redirect. In Search Console, “Redirect error” is a Page Indexing status meaning Googlebot tried to follow a redirect and could not reach the end of it, so the page was not indexed. Google names four causes: a redirect chain that was too long, a redirect loop, a redirect URL that exceeded the maximum URL length, or a bad or empty URL in the chain.

Do not confuse it with “Page with redirect”, which means Google found a working redirect and will index the destination instead. That one is usually normal: the HTTP version redirecting to HTTPS, or non-www to www, belongs there and needs no fix.

To fix a real redirect error:

  1. In Search Console, go to Indexing, then Pages, and click the “Redirect error” row under “Why pages aren’t indexed”.
  2. Trace the chain with curl -IL on the example URL and write down every hop until you find the loop or dead end.
  3. Collapse the chain to one direct 301 to the final URL, and delete the rule that created the loop.
  4. Update internal links and your XML sitemap to point at the final URL. A sitemap should list final canonical URLs only.
  5. Check the destination with the URL Inspection tool. If it is a 404 or a 5xx error, the redirect is not the real problem.
  6. Click “Validate Fix” and let Google recheck the URLs.

Google’s guidance puts a ceiling of 10 redirects in a chain, and recommends no more than 3 hops when chains cannot be avoided. One hop is the target.

A woman relaxes with her laptop while browsing websites from home.
A redirect is only a problem when it loops, chains, or points at a dead page. Photo: Polina Tankilevitch / Pexels.

4xx Client Errors

A 4xx code means the server understood the request and will not process it as sent. The fault sits with the request: a wrong address, a missing sign-in, or a limit the client hit.

Full meanings and fixes live on their own pages.

CodeNameWhat it meansFull guide
400Bad RequestThe request is malformed, so the server cannot process it.400 Bad Request error fixed
401UnauthorizedThe client must sign in first. Despite the name, this means unauthenticated, not forbidden.401 Unauthorized error explained
403ForbiddenThe server knows who you are and refuses access. Signing in again does not help.403 Forbidden error fixed
404Not FoundThe server cannot find anything at that URL. The page may have moved or been deleted.404 Not Found error
405Method Not AllowedThe URL exists but rejects the method sent, such as POST or DELETE.Other 4xx errors
406Not AcceptableNo content matches what the browser asked for in its Accept header.Other 4xx errors
409ConflictThe request conflicts with the current state of the server.Other 4xx errors
410GoneThe content was deleted permanently, with no forwarding address.Other 4xx errors
413Content Too LargeThe request body is larger than the server allows.Other 4xx errors
414URI Too LongThe URL is longer than the server will read.Other 4xx errors
422Unprocessable ContentThe request is well formed but has semantic errors.Other 4xx errors
429Too Many RequestsThe client sent too many requests in a set time and hit a rate limit.429 Too Many Requests error
431Request Header Fields Too LargeThe headers are too big, often oversized cookies.Other 4xx errors
451Unavailable For Legal ReasonsThe resource cannot legally be provided.Other 4xx errors

Two codes deserve a note. 402 Payment Required was reserved for digital payment systems and is rarely used, with no standard convention. 418 is listed in the IANA registry as unused: the “I’m a teapot” joke from an April Fools’ RFC was never a real error code.

Three numbers people search for are not HTTP codes at all. The IANA registry lists HTTP error 443, 444, and 450 as unassigned, so none of them is a standard HTTP status code. 444 is a non-standard Nginx code that closes the connection without sending any response, so it only ever appears in the server log.

Close-up of colourful programming code on a computer screen.
4xx codes point at the request; 5xx codes point at the server. Photo: Markus Spiske / Pexels.

5xx Server Errors

A code in the HTTP error 50x range means the request looked valid and the server failed to complete it. Visitors cannot fix these; the fix lives on the server or with the host. Reloading once is worth trying, since 502 and 503 errors are often temporary.

Full meanings and fixes live on their own pages.

CodeNameWhat it meansFull guide
500Internal Server ErrorThe server hit a situation it does not know how to handle.500 Internal Server Error fixed
501Not ImplementedThe server does not support the request method.Other 5xx errors
502Bad GatewayA gateway or proxy got an invalid response from the server behind it.502 Bad Gateway error fixed
503Service UnavailableThe server is not ready, usually down for maintenance or overloaded.503 Service Unavailable error
504Gateway TimeoutA gateway did not get a response from the server in time.504 Gateway Timeout error
505HTTP Version Not SupportedThe server does not support the HTTP version used in the request.Other 5xx errors
507Insufficient StorageThe server cannot store what the request needs.Other 5xx errors
508Loop DetectedThe server found an infinite loop while processing the request.Other 5xx errors
511Network Authentication RequiredYou must sign in to the network first, such as hotel Wi-Fi with a captive portal.Other 5xx errors

When Cloudflare sits between the visitor and the origin server, codes 520 to 526 describe failures between Cloudflare and the origin, such as an unreachable server or a failed SSL handshake. See our guide to Cloudflare errors for the full list.

Server racks in a modern data center corridor.
A 5xx code means the server failed a valid request; only the site owner can fix it. Photo: Brett Sayles / Pexels.

Errors With No Status Code at All

Sometimes the browser shows an error with no three-digit number. The request never reached a server that could answer, or the connection failed before a response arrived. These are browser and network errors, not HTTP status codes.

Browser errorWhat it meansWhere to look
ERR_TOO_MANY_REDIRECTSThe page redirected too many times. See the redirect loops section above.Chrome errors
ERR_NAME_NOT_RESOLVEDThe address could not be turned into an IP address. Check the spelling or the DNS records.DNS and network connection errors
ERR_CONNECTION_TIMED_OUTThe page took too long to connect, often a server that is down or a firewall blocking it.DNS and network connection errors
ERR_SSL_PROTOCOL_ERRORThe secure HTTPS connection could not be set up, often an expired or mismatched certificate.SSL errors and err_ssl_protocol_error fixes
ERR_CONNECTION_CLOSEDThe connection closed before a complete response arrived.Chrome errors
HTTP error 0A request that returned no status at all, usually a network failure. A status of 0 is not an HTTP code.DNS and network connection errors

The same applies to errors outside the browser. A WordPress HTTP error often shows as “There has been a critical error on this website”, a PHP or plugin failure, covered in our WordPress errors guide. A proxy in the middle can return its own errors too; see our guide to proxy errors. A code such as “HTTP error [10060]” is a Windows socket timeout, not an HTTP status code at all, and belongs with other Windows errors. A syntax error in your own code is not an HTTP code either.

An IT professional operates a computer in a server room.
When no status code arrives at all, the fault is in the connection, not the page. Photo: panumas nikhomkhai / Pexels.

Frequently Asked Questions

What is an HTTP error?

An HTTP error is a response saying a request did not complete. Codes starting with 4 or 5 are the errors: 4xx means the request was wrong, and 5xx means the server failed.

What are the most common HTTP error codes?

The codes visitors meet most are 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests, 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable, and 504 Gateway Timeout.

What does a 301 error mean?

A 301 error means the page moved permanently to a new address. The browser follows the redirect automatically, and search engines replace the old URL with the new one.

What does a 302 error mean?

A 302 error means the page is temporarily at a different address. The browser follows it this time but keeps using the original URL afterwards. Use a 302 only for short-term moves.

What does a 304 error mean?

A 304 error means the cached copy is still valid, so the browser should keep using it. The server sends it when the page has not changed since the browser last downloaded it, which saves bandwidth.

How do I fix a redirect error in Google Search Console?

Open Indexing, then Pages, and click the “Redirect error” row. Trace the chain, collapse it to one direct 301 to the final URL, remove the rule causing the loop, update internal links and the sitemap, then click “Validate Fix”.

Is a 404 error bad for SEO?

A single 404 is normal; every site has them. They hurt when they pile up: links pointing at deleted pages, old URLs in the sitemap, or an important page returning 404 by mistake. Redirect moved pages with a 301 and fix the links that point at missing ones.

Watch: HTTP Status Codes Explained

1. “HTTP Crash Course & Exploration” – Traversy Media

A full crash course on HTTP: the request and response cycle, status codes, headers, and body, with Postman examples. It is from 2019, so the HTTP/2 section is dated, but the status code explanations still match RFC 9110.

2. “Web Security Basics | HTTP Status Codes & How Attackers Use Them” – Archive Networks

https://www.youtube.com/watch?v=JcD7h4Ctbrk

A 62-minute walkthrough of the main status codes, and how attackers read server responses.

The Bottom Line

The first digit of an HTTP status code tells you almost everything: 1xx means wait, 2xx means success, 3xx means go elsewhere, 4xx means fix the request, and 5xx means fix the server. Most visitor-side errors clear with a reload, a corrected address, or cleared cookies. Most site-owner errors start with the error log and end with a redirect or config fix.

Sources

8

Checked 23 Nov 2026. Every factual claim on this page was verified against a named source above.

TB

Written by

Tom Becker Error Codes Writer

Tom's byline covers Windows, browser and HTTP error codes. Fixes are taken from Microsoft, browser-vendor and web-standards documentation and are ordered from quickest to most drastic. Each guide names the operating system or browser version its steps apply to.

How our articles are researched, reviewed and updated