A page you need refuses to load and the whole explanation is one flat sentence: 500 Internal Server Error. No detail, no hint, nothing to act on. If the site is yours, that vagueness is frustrating. If it belongs to someone else, it is confusing: did you break something, or did they?

This guide explains what the 500 code means, why the message is deliberately unhelpful, where the real detail is recorded, and the first checks to run. It also shows how to read the code's reference entry in the free HTTP Status Code Checker on Ovatly, and it is plain about the boundary: the tool explains the code, it does not diagnose your server.

Contents

  • Quick answer
  • The class tells you who is at fault
  • Why the message is deliberately vague
  • Where the real detail lives
  • The first checks to run
  • How to look up the code, step by step
  • Worked example: reading a 500 against the reference
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

A 500 means the server received your request, tried to handle it, and ran into an unexpected problem it could not recover from. The fault is server-side, not in your request or your browser. The response is generic because 500 is the catch-all for server failures: the specific cause is written to the server's error log instead of being shown to visitors. Paste 500 into the HTTP Status Code Checker for the reference description, then go to the logs for the actual diagnosis.

The class tells you who is at fault

Status codes are grouped into classes, and the class rules of thumb are worth memorising: 2xx means it worked, 3xx means look elsewhere, 4xx means the request was at fault, and 5xx means the server was. That distinction answers the first question every 500 raises. A 404 says the address was wrong. A 500 says the address was fine and the machine behind it failed anyway.

Within the 5xx class, the individual codes narrow things down. A 502 means a proxy received an invalid response from the upstream server, or the upstream is down. A 504 means the upstream took too long to respond at all. A 503 means the server cannot handle the request right now, usually temporarily. A 500 is the least specific of the family: something inside the server went wrong and no narrower code applied.

Why the message is deliberately vague

The bare 500 page is not lazy design. It is closer to a policy. The error behind a 500 can be almost anything: an unhandled exception in the site's code, a configuration file with a syntax error, a failed database connection, a permission problem on a file the application needs. Serving the real error text to every visitor would hand strangers a map of the site's internals, file paths and software versions included.

So the server keeps two records. Visitors get the generic 500 response, safe and useless. The operator gets the detailed entry in the error log, with the exception and often the exact line. The vagueness is the design working as intended, and it tells you where to look next.

Where the real detail lives

If the site is yours, the error log is the first and usually the only place the answer exists. Every failed request that produced a 500 left a timestamped entry near the moment it happened: the error message, the script that raised it, and frequently a stack trace. Match the time of your failed page load to the log and the cause is normally on that line or the one above it.

Where the log lives depends on your setup: a file on the server, a logging panel in managed hosting, or your platform's log viewer. What matters is the habit: log first, guesses second.

The first checks to run

Work through these in order:

  1. Read the error log at the timestamp of the failure. This replaces speculation with the actual exception.
  2. Ask what changed. Most sudden 500s follow a change: a deployment, an edited configuration file, an updated plugin or dependency. Reverting or fixing the last change resolves a large share of cases.
  3. Check the obvious resources. A full disk, exhausted memory or a database that stopped accepting connections all surface as 500s in the application above them.
  4. Test whether it is every page or one page. A site-wide 500 points at shared infrastructure or configuration. One page failing points at that page's code or data.
  5. If it is not your site, stop. Reload once, then wait or tell the owner.

How to look up the code, step by step

Use the reference to pin down what the code you saw promises:

  1. Open the HTTP Status Code Checker.
  2. Type the code you saw, 500, or paste the full response line if you have one. Pasting HTTP/1.1 503 Service Unavailable, for instance, extracts the code 503 and explains it.
  3. Read the explanation card: the class, what the code means and the common causes.
  4. For a neighbouring code, browse or filter the reference table below the result. It covers the standard codes developers meet daily, 30 codes across the 1xx to 5xx classes, and a valid but uncommon code still gets its class explanation.

Worked example: reading a 500 against the reference

Your site starts returning 500 after a deployment. You paste 500 into the checker and the card places it in the Server Error class (5xx): the server encountered a condition it did not know how to handle. That confirms the fault is server-side, so you stop checking your browser and the page's URL.

That is as far as the reference takes you. The card cannot name your cause. You open the server error log at the deployment's timestamp and find the real entry: the updated code calls a function the older configuration never loaded. The fix follows from the log line, not from the status code. The code told you whose problem it was; the log told you what it was.

Limitations

The checker is a lookup for codes you already have. It does not fetch or test any live website, it never contacts a server, and nothing about your sites or systems is sent anywhere when you use it. It can explain 500, 502, 503 and their neighbours precisely, but it cannot see your logs, configuration or code, so it cannot diagnose why your server failed. Live diagnosis belongs to your host's tooling and your own logs. Treat any tool that claims to identify your specific 500 cause from the code alone with suspicion: the code does not carry that information.

Common mistakes

  • Reloading endlessly. A 500 is not a slow page. If the cause is a code or configuration fault, it fails identically until someone fixes it.
  • Blaming the browser or clearing caches. The 5xx class already told you the request was not the problem. Visitor-side fixes cannot touch a server fault.
  • Guessing instead of reading the log. Swapping settings at random can bury the original error under new ones. The log entry at the failure timestamp beats any guess.
  • Confusing 500 with 503. A 503 is usually temporary: overload, maintenance, a deployment in progress. Waiting suits a 503. A 500 generally needs an actual fix.

FAQs

Is a 500 error my fault as the visitor? Almost never. The 5xx class means the server was at fault: 2xx means it worked, 3xx means look elsewhere, 4xx means the request was at fault and 5xx means the server was. Reloading later or reporting it to the site owner is usually all a visitor can do.

Why does the 500 message not say what went wrong? Because it is a catch-all. The server software uses one generic response for every unexpected failure, partly so internal details are not exposed to strangers. The specific error is written to the server's error log instead.

Where do I find the real cause of a 500? In the server error log, timestamped at the moment the request failed. On your own site, check the log first, then what changed recently: a deployment, a config edit, a plugin or dependency update.

Can the HTTP Status Code Checker find out why my site shows 500? No. It is a paste-based reference that explains the code you give it, its class, meaning and common causes. It never fetches or tests a live website, so it cannot diagnose your server.

What is the difference between 500 and 503? A 500 is an unexpected internal failure. A 503 means the server cannot handle the request right now, usually temporarily, with overload, maintenance and in-progress deployments as the common causes. A 503 often clears on its own; a 500 usually needs a fix.

Conclusion

A 500 is the server admitting failure without explaining itself, and that silence is deliberate. The class tells you the fault is server-side, the log tells you the cause, and the first checks are simply: read the log at the failure time, review what changed, and confirm whether the failure is site-wide or confined to one page. For the opposite end of the code list, where the server answers but sends you somewhere else, the companion guide on 301 vs 302 redirects covers which redirect to choose and what the wrong one costs. More guides in this cluster sit in the developer tools guide archive.