Toolman

HTTP 500 — Internal Server Error

5xx Server Error

What it means

The server hit an unhandled error. It is the catch-all for "something broke and we did not anticipate it".

What to do about it

Read the server logs — the status code itself tells you nothing. Common causes are an unhandled exception, a failed database connection, or a null dereference in a code path that was never tested.

Where it sits

500 belongs to the 5xx family: The server failed to fulfil an apparently valid request. The fix is on the server side.

HTTP/1.1 500 Internal Server Error

Checking it yourself

# see the status code and headers only
curl -sI https://example.com/path

# follow redirects and print each hop
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://example.com/path

# JavaScript
const r = await fetch(url);
console.log(r.status, r.statusText);

Other 5xx codes

All HTTP status codes