WhereGoes

500 Internal Server Error

5xx server error

The server hit an unexpected condition that prevented it from fulfilling the request, and the actual fault lies in code, data, or configuration.

Common causes

  • An unhandled exception in application code.
  • A failing database query or connection pool exhaustion.
  • A bad deploy or missing configuration value.

How to fix it

  • Read the correlated server log entry for the request id.
  • Add a defensive handler so the failure returns a useful message.
  • Roll back the last deploy if the rate spiked immediately after it.

What it means for redirects and SEO

A server fault returns 5xx, so crawlers retry and then back off. Repeated 500s on key URLs can drop a whole site. Watch error rates after deploys.

Related codes