500

Internal Server Error

5xx · Server Error

A generic error occurred on the server.

What does HTTP 500 Internal Server Error mean?

A generic catch-all error indicating the server hit an unexpected condition that prevented it from fulfilling the request. The real cause is in the server logs.

5xx responses indicate the server failed to fulfil a valid request. The problem is on the server side and is not something the client can fix by changing the request.

Common causes

  • Unhandled exception in application code
  • Misconfiguration or failed dependency
  • Database or downstream service error

How to fix a 500 error

  • Check the server/application logs for the stack trace
  • Reproduce locally and add error handling
  • Verify environment variables and service connections

Related 5xx status codes

Look up and search every HTTP status code in one place.

Open the HTTP Status Code tool