HTTP status code · RFC 9110, section 15.6.1

500 Internal Server Error

500 Internal Server Error means the server hit an unexpected condition and couldn't complete the request; the problem is on the server's side.

What 500 means

The generic server error: an unhandled exception, a crash in a handler, a misconfiguration. It says nothing specific, so the answer is in the server's logs.

Common causes

  • An unhandled exception in application code (a bug, often after a deploy).
  • A database query failing.
  • A missing environment variable or secret.
  • A broken .htaccess or server config.

How to fix 500

  • Check the application and server logs at the time of the error.
  • Roll back the last deploy if the errors started with it.
  • Add error tracking so 500s reach you with a stack trace.

How Uptenna treats 500

With the default expected status (200-399), a 500 counts as a failed check. Two failures in a row open an incident, and the alert says Got HTTP 500 (expected 2xx or 3xx). The first successful check resolves it and sends a recovery.

See Monitors for expected status codes, keywords and timeouts.

Frequently asked questions

What does HTTP 500 mean?

500 Internal Server Error means the server hit an unexpected condition and couldn't complete the request; the problem is on the server's side.

Is 500 an error?

Yes, 500 is a server error: the problem is on the server's side (or something between the client and the server).

Does an uptime monitor treat 500 as down?

By default, yes: Uptenna counts anything outside 200-399 as a failed check and opens an incident after two failures in a row. You can change the expected status per monitor.

Related status codes

Find out the moment your site returns 500

Uptime checks, cron job heartbeats and a public status page, with an alert the moment something breaks.

  • No card required
  • 14-day Pro trial
  • Free plan after
PlansFree$0Pro$9/mo
Monitors
Free: 5Pro: 50
Check every
Free: 5 minPro: 1 min
Alerts
Free: EmailPro: 5 channels
Status pages
Free: 1Pro: 5
SSL expiry alerts
Free: Pro: