Website error codes explained: what 500, 502, 503 and others mean
When a website answers with an error, it usually sends a three-digit code with it. Codes starting with 4 mean the site didn't like the request; codes starting with 5 mean the site itself has a problem. Here is what the common ones mean, and whether there is anything you can do.
5xx: the website has a problem
- 500 Internal Server Error: something broke inside the site's own software. Not your fault. Wait a few minutes and reload.
- 502 Bad Gateway: the site uses a front server (often a CDN like Cloudflare) that couldn't get a proper answer from the server behind it. Usually an outage or a restart on the site's side.
- 503 Service Unavailable: the site is overloaded or down for maintenance. Common during big launches, sales and outages. Wait and try again.
- 504 Gateway Timeout: like 502, but the server behind the front server took too long to answer. Often a sign the site is struggling under load.
- 520–527 (Cloudflare): Cloudflare can reach the internet but not the website's own server, or the connection between them failed. The site's owner has to fix it.
A 5xx error for many people at once is what an outage looks like. Check the site on DownSonar: our checks note these errors and the page shows whether others see them too.
4xx: the site refused the request
- 400 Bad Request: the site couldn't understand the request. Clearing the site's cookies often fixes it.
- 401 Unauthorized: you need to log in first.
- 403 Forbidden: the site understood you but won't let you in. Your country, network or VPN may be blocked, or the page is private. Try without VPN or on another connection.
- 404 Not Found: that page doesn't exist (any more). Check the address, or start from the site's home page. A 404 on the home page itself can mean the site is broken.
- 429 Too Many Requests: you (or your network) sent too many requests in a short time. Wait a few minutes. Shared networks and VPNs hit this more often.
No code at all
- Timeout ("took too long to respond",
ERR_CONNECTION_TIMED_OUT): the site didn't answer at all. Either it is down or overloaded, or something on the way is blocking it. - Connection refused (
ERR_CONNECTION_REFUSED): the server is there but nothing is listening. Usually the site is down or restarting. - Name not found (
DNS_PROBE_FINISHED_NXDOMAIN): the browser couldn't look up the address. See DNS errors explained.
Certificate and security errors
"Your connection is not private", NET::ERR_CERT_DATE_INVALID or "This connection is not secure" mean the site's security certificate failed a check. Most often the certificate has expired: the site's owner forgot to renew it. Our status pages show this as "Up, certificate problem".
Is it only you? Check your device's date and time first; a wrong clock makes every certificate look invalid. Public Wi-Fi with a login page can cause the same error until you log in. Don't click past the warning on sites where you log in or pay.
What DownSonar shows
Our checks open each site the way a browser does and note what comes back: an error code, a timeout, a failed name lookup or a broken certificate. A status page shows the last result in plain words, together with what people report. How we check sites explains the rest.
More guides
- Is a website down for everyone, or just you?A quick way to tell whether a website or app is down for everyone or only for you, and what to do in each case.
- What a DNS error ("name not found") means, and how to fix itWhat "Server not found", "This site can't be reached" and DNS_PROBE_FINISHED_NXDOMAIN mean, whether the problem is yours or the website's, and how to fix it.
- Why is a website down for me but not for anyone else?Why a website or app can work for everyone else but not for you, and how to fix each cause: network, DNS, browser, VPN, location and account problems.