500 Internal Server Error

The HTTP status meaning something went wrong inside the server while handling the request.

In more detail

The body should be a safe problem document with no stack trace or database details; the full exception belongs in protected logs. It is the generic 5xx answer for an unexpected failure, and a later retry may succeed.

Example

In the APIs course: The course fault called the leaky five hundred puts the exception into the body, and the contract suite catches it.

Related terms

Taught in

References