Free tools

HTTP 500 Internal Server Error

The server hit an unexpected error. Free reference, no signup.

500 Internal Server Error

MeaningThe server hit an unexpected error.
WhenAn unhandled exception or a bug in the handler.
CausesA null dereference, a failed assumption, or a bad deploy.
FixRead the server log for that request. The client cannot fix it by changing the payload unless the server bug is input-specific.
RetryRetry idempotent requests a few times, then stop.
Alert?Yes. A 500 on your service is something you should hear about.

Runs in your browser. Nothing you enter is stored.

Get pinged when your API starts returning 500s

A 500 on your service is something you should hear about.

curl -sS -X POST https://api.trigv.com/v1/events \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TRIGV_API_KEY" \
  -d '{"channel":"ops","title":"HTTP 500","level":"error"}'

How to use it

  1. Read what 500 means before changing a retry loop.
  2. Check the common causes against the response body and the server log.
  3. Follow the retry note. Retrying a 400 with the same body will fail again.
  4. If this is your API, use the snippet to hear about it.

About this tool

HTTP 500 Internal Server Error means The server hit an unexpected error. Servers send it when An unhandled exception or a bug in the handler.

Common causes: A null dereference, a failed assumption, or a bad deploy. The practical fix is: Read the server log for that request. The client cannot fix it by changing the payload unless the server bug is input-specific.

Retry: Retry idempotent requests a few times, then stop.

Alert on it? Yes. A 500 on your service is something you should hear about.

Trigv is a push for the moment a status starts mattering, not a log of every response. If the code is one you should hear about, the snippet posts a single event with level error or warning. The status page itself does not call your API.

Questions

What is HTTP 500?

The server hit an unexpected error.

Should the client retry?

Retry idempotent requests a few times, then stop.

Should I alert on it?

Yes. A 500 on your service is something you should hear about.

How is this different from reading the spec?

The page adds a plain retry note and an alert verdict for people running the service, not only for people parsing the response.