Every time you open a web page, your browser asks a server for it and the server answers with a three-digit status code. Most of the time the answer is a success and you never see the number. When something goes wrong, many websites show the code on screen, and it is a useful clue to whose problem it is: yours, or the website's.1 (If you are curious about the whole journey, see what actually happens when you open a website.)
What the first digit tells you
Status codes are grouped into five classes by their first digit:1
- 1xx – informational responses
- 2xx – success (the page loaded normally)
- 3xx – redirection (the page has moved and your browser is being sent elsewhere)
- 4xx – client errors: something about the request is wrong
- 5xx – server errors: the website's server could not deliver the page
The rule of thumb: a 4 usually means something about the address or your access, while a 5 means the problem sits with the website, and there is little you can fix yourself.1
404 Not Found
This is the most familiar error. It means the server cannot find the page you asked for.2 The website itself is working; there is simply nothing at that address. Common causes are a mistyped address, or a page that was moved or deleted without the site sending visitors to its new location.2
A 404 does not say whether the page is gone temporarily or for good.2
403 Forbidden
A 403 means the server understood the request but refuses to carry it out, usually because you do not have permission to see that page.3 Unlike some other access errors, logging in again makes no difference to a 403, and repeating the same request will normally give the same result.3 If you think you should have access (for example, to a work or school system), contact whoever runs the site.
500 Internal Server Error
A 500 is a general-purpose server error. It means the server ran into something unexpected that stopped it completing the request, and no more specific error applied.4 Causes include a misconfigured server, running out of memory, a bug in the site's code or wrong file permissions.4 It needs the website's owners or administrators to investigate, so as a visitor the best you can do is wait and try again later.4
502 Bad Gateway and 504 Gateway Timeout
Many websites pass your request through one server (a gateway or proxy) to another behind it. A 502 means that gateway received an invalid response from the server behind it; a 504 means it got no response at all in time.5 Fixing these usually falls to the site's owners. However, if the site works for other people, the problem could be on your side: check your network, firewall, proxy and DNS settings, including any VPN you use.5 Our guides to Wi-Fi that is connected but has no internet and what a VPN does may help.
503 Service Unavailable
A 503 means the server is not ready to handle requests right now. The usual reasons are that the site is down for maintenance or is overloaded with traffic.6 It is meant for temporary situations, and the server may tell browsers roughly when the service should be back.6 A sudden rush of visitors, for example during a big ticket sale, can overload a site and trigger a 503.6
429 Too Many Requests
A 429 means you (or your connection) sent too many requests in a short time, which is often called rate limiting.7 Sites usually count requests per internet address or per logged-in account, and the response can say how long to wait before trying again.7 Stop refreshing repeatedly and give it a few minutes.
What you can do when you see a 5xx error
Server errors are mostly out of your hands, but a few simple checks are worth trying:8
If only one site misbehaves and the error does not show a status code at all, the cause may be different. See our guides to DNS_PROBE_FINISHED_NXDOMAIN, ERR_TOO_MANY_REDIRECTS and clearing your cache and cookies.
Be wary of error pages that ask you to call a number
A genuine 404 or 503 page never asks you to phone "technical support", pay money or install software. If an "error" page does, close it: it is likely a scam. See our guide to fake virus warnings and tech support scams.
When to get help
If a 4xx or 5xx error keeps appearing on a site you depend on, such as your bank, a government service or your workplace, contact the organisation through another route (its app, phone line or social media) and tell them the code and the page address. For 500-type errors, only the site's administrators can fix the cause.4
Common questions
What is the difference between 404 and 410?
A 404 just means the page cannot be found, while 410 Gone means it has been removed permanently.9 Sites are supposed to use 410 for pages deleted for good, but many simply show a 404.2
What is the difference between 401 and 403?
A 401 means you need to log in with valid credentials first.9 A 403 means the server knows the request but will not allow it, and logging in again does not change that.3
Is a 503 error my fault?
Almost never. It means the website is temporarily unavailable, usually because of maintenance or heavy traffic.6,9
