HTTP

500 Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request. A generic catch-all for server-side errors.

When You See This Code

When an unhandled exception occurs, a database connection fails, or server code has a bug.

How to Fix

Check server logs for the stack trace. Common causes: unhandled exceptions, database errors, misconfigurations.

Specification

View RFC / Specification →

Related Codes

Cross-Protocol Equivalents

Comparisons

Guides

Glossary