HTTP Error Codes Explained
Every response from a web server includes a three-digit status code. Codes in the 400s typically mean the problem is on the client side; codes in the 500s mean the server is to blame.
How HTTP status codes work
HTTP (HyperText Transfer Protocol) is the protocol browsers and servers use to communicate. Every time your browser requests a page, the server responds with a status code alongside the content. Codes in the 200–299 range mean success. 300–399 mean redirects. 400–499 mean client errors — the request itself was somehow invalid or not allowed. 500–599 mean server errors — the server received a valid request but failed to fulfil it. You can inspect these codes using an HTTP header checker.
Understanding which range a code falls in immediately tells you whether the issue is yours to fix or something you need to wait out.
Common HTTP error codes
The server couldn't understand the request due to invalid syntax. Often caused by a malformed URL or a corrupted form submission.
You need to authenticate before accessing this resource. Typically seen on password-protected pages or API endpoints that require a token.
The server understood your request but refuses to fulfill it. You are authenticated (or need not be) but don't have permission.
The requested URL doesn't exist on the server. Could be a broken link, a deleted page, or a typo in the URL.
You've sent too many requests in a short period. The server is rate-limiting you. Wait and try again.
Something went wrong on the server. The cause is unspecified. Refresh after a minute — these are usually temporary.
A gateway received an invalid response from an upstream server. Common during deployments or infrastructure overload.
The server is temporarily unable to handle requests — usually due to maintenance or overload. Often short-lived.
A gateway didn't receive a timely response from an upstream server. Often caused by slow backend processing or internal network congestion.
DNS errors aren't HTTP errors
Errors like DNS_PROBE_FINISHED_NXDOMAIN or "Server Not Found" don't come with HTTP status codes at all — they happen before the HTTP connection is even established. These mean your browser couldn't resolve the domain name to an IP address. Check our DNS explainer for more detail.
What to do when you hit an error
For 4xx errors: check the URL for typos, make sure you're logged in if required, and don't hammer the server with repeated requests if you're rate-limited. For 5xx errors: the problem is on the server side and out of your control. Wait a few minutes and try again. If the site is large and widely used, check our status page or the site's official status page for incident updates.