When your app breaks and the screen won't say why
The vague error your visitors see is a dead end on purpose — here's where the real answer is kept, and how to get it out.
ON THIS PAGE
- Why does a 500 error — the generic crash message — tell me nothing?
- Where is the real explanation kept?
- What usually causes it?
- How do I fix it, step by step?
- Why is finding out late the expensive part?
- Which tool should watch my app and tell me when it breaks?
- What should I do next?
- Questions people also ask
What does it mean when my app shows an internal server error?
It means your app asked its own server to do something, the server hit something it could not get past, and it gave up. The message is a catch-all, sent when there is nothing more specific to say. The problem is on your side, not the visitor's, and the real explanation is in your logs.
That's it. That's the whole thing. Your app asked its own server to do something, the server tried, and it fell over.
Why does a 500 error — the generic crash message — tell me nothing?
The number is deliberately vague, and not because anything is being hidden from you. It is a generic catch-all response, used when the server cannot find a more specific error to send back.1
Unlike messages that point at something precise — a page that doesn't exist, a login that wasn't accepted — this one says the trouble is with the server itself, not with the thing the visitor asked for.1 It's a problem on the owner's side rather than something a visitor is doing wrong.5
So refreshing might work. Clearing a cache might appear to work. Neither of those fixed anything.
Where is the real explanation kept?
In your logs. When your app's server runs into trouble it has two audiences: the visitor's browser, which gets the short useless number, and a log file, which gets the actual story — the line of code, the thing that was missing, the moment it stopped.
The visitor-facing message is bare on purpose. Spelling out exactly what broke on a public page would hand useful information to people you'd rather not hand it to. So the server says nothing in public and writes the details down somewhere private.
The standard advice for tracking one of these down starts with your error logs.3 On most hosting platforms they sit behind a tab called Logs, Functions, Runtime or Deployments, depending on who you built with.
What usually causes it?
Across the standard references the same small set comes up again and again: improper server configuration, running out of memory, errors in the code that weren't caught and handled, and permission problems on files.2 Database connection problems and simply not having enough memory or disk space are on the same list.4 So are timeouts waiting on an outside server.7
- Something the code expected wasn't there. A setting, a key, a value from the database that came back empty. The code assumed it would exist, didn't check, and fell over. This is the most common one, and it's why apps break after a change that looked fine.
- A service your app depends on didn't answer. Your database, your email sender, your payment provider, an AI model you're calling. Your server waited, got nothing, and had no instructions for what to do next. Your app can break this way while nothing about your app is wrong.
- It ran out of room. Too much happening at once, a file too large, a query pulling more than the machine can hold.6
- A recent change broke something quietly. You asked for a feature, got it, clicked it, and it worked. It breaks on a path you didn't click.
How do I fix it, step by step?
Don't start changing things. That's the instinct and it's the wrong one, because you'll change five things and never know which one mattered.
- Check whether it's everyone or just youOpen your app on your phone, on mobile data, logged out. If it loads, the problem is narrower than you think — a specific page, account or action. That's good news, and much easier to describe.
- Find out when it startedDid you ship something in the last hour? The last day? If so, that's your first suspect, and you should say so out loud when you go looking for help.
- Open the logsYour platform keeps them. Look for the newest red line, or the newest entry around the time it broke. You don't need to understand it. You need to copy it.
- Paste the log line into the tool you built withInclude what you were doing when it broke and whether anything changed recently. Passing along the error number passes along the uselessness with it; the log line is the part that contains an answer.
- Check your dependencies' status pagesIf your database host or your model provider is having a bad morning, nothing you change will help — and changing things while an outside service is down is how a small problem becomes a tangled one.
My app is returning an internal server error on [which page or action]. Here is the newest log entry from around the time it broke: [paste the log line here] The last change I made was [describe it, or say "nothing recently"]. Explain in plain language what this log line means, tell me the single most likely cause, and show me the exact change to make. Don't change anything unrelated.
Why is finding out late the expensive part?
The damage usually isn't the crash. It's the hours between the crash and the moment you noticed.
When new users hit one of these, the experience is ruined and they leave, which costs you trust and engagement.4 They don't email you. They don't post about it. They close the tab, and that's the end of them.
Most people who build these apps find out because a friend mentions it in passing, or because they happened to open their own app. So the honest answer to "what do I do about this" is partly "learn to read the log", and mostly "arrange to find out immediately".
Which tool should watch my app and tell me when it breaks?
There are a lot of these and most of them are good. The question is which one is built for someone like you.
UptimeRobot, Pingdom, StatusCake, Better Stack, Hyperping and Uptime Kuma are the established names, and they're genuinely capable. The trade-off is consistent: they were built for engineers and the setup reflects it. You're typically asked how often to check, which responses should count as a failure, and where to send the alert.
Where they're stronger: they generally check from more places around the world, keep longer records, and can reach you through more channels than email — text messages and chat apps among them. Healthchecks.io and Cronitor solve a related but different problem: watching scheduled background jobs rather than the app a visitor loads.
Fomio is the one we build, and it's built for the reader of this article. You paste a link and it works out what to watch — nothing to configure, no frequency to pick, no responses to classify. It reports one of three things about your app: Working, Having trouble, or Down. When something breaks it tells you in plain English what likely went wrong, and on the paid plans it writes a prompt to paste straight into the AI tool you built the app with — which is the step most people get stuck on.
| Tool | What setting it up asks of you | What it tells you when something breaks | How it reaches you |
|---|---|---|---|
| UptimeRobot, Pingdom, StatusCake, Better Stack, Hyperping, Uptime Kuma | How often to check, which responses count as a failure, where to send alerts | The technical response, plus graphs and long history | Email, text messages, chat apps, depending on the tool |
| Healthchecks.io, Cronitor | Setting up the scheduled background jobs you want watched | That a scheduled job didn't run or didn't finish | Varies by tool |
| Fomio | A link. Nothing to configure. | Working, Having trouble or Down, plus a plain-English explanation — and on paid plans a prompt for your AI tool |
The free plan watches one app from outside, checks it every five minutes, emails you when it breaks, and keeps seven days of history. No card needed. Builder covers three apps, checks every minute, includes the fix prompts, and keeps thirty days. Pro covers fifteen apps, checks every minute, adds a public status page for your users, and keeps a year. Current prices are at fomio.ai/pricing.
What should I do next?
Your server hit something it couldn't recover from, and the screen is deliberately not telling you what. The answer is in your logs, it's almost always one of about five things, and the fastest route to a fix is pasting the log line — not the error number — into the tool you built with.
Then make sure you're not the last to know next time. Pick something today, while nothing is on fire. It takes a few minutes now and saves you a weekend later.
Questions people also ask
WHERE THIS COMES FROM
- 500 Internal Server Error — MDN Web Docs
- 500 Internal Server Error: What It Means & How to Fix — SiteLock
- Fixing a '500 Internal Server Error' message — DreamHost Knowledge Base
- Decoding Error 500: Understanding, Preventing, and Resolving the Internal Server Error — ClouDNS Blog
- What Is a 500 Internal Server Error? Causes and Fixes — B12
- How to Fix a 500 Internal Server Error — GeeksforGeeks
- HTTP 500 status code (Internal Server Error) — Amazon CloudFront Developer Guide, AWS
