A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
What does HTTP 500 mean?
The 500 Internal Server Error code is part of the 5XX class. This is a server error code — the request was valid but the server failed to fulfil it. The problem is server-side.
When is it used?
A server returns 500 Internal Server Error in situations matching the definition above. You will encounter it inspecting network requests, reading logs, or testing an API. Whether it signals a problem depends on its class: 2xx and 3xx are normal, while 4xx and 5xx usually need attention on the client or server respectively.