Summary
A generic catch-all: the server hit an unexpected condition and could not complete the request.
When it occurs
Returned when server code throws an unhandled error; check logs for the real cause.
Common causes
- Unhandled exception or bug in server code
- Database or dependency failure
- Server misconfiguration
- Out-of-memory or resource exhaustion
How to fix
- Check the server error logs for the stack trace
- Fix the underlying exception
- Add error handling and input validation
- Reproduce locally with the same request