500
Internal Server Error
Server Error
Description
A generic error message when the server encounters an unexpected condition
Common Usage
Catch-all for server-side errors; something went wrong on the server
Example Response
How this status code appears in HTTP responses
HTTP Response Header
HTTP/1.1 500 Internal Server ErrorcURL Example
curl -I https://example.com
# Returns: HTTP/1.1 500 Internal Server ErrorServer Error Response
This is a server error response indicating the server failed to fulfill a valid request.
Related Server Error Codes
Other codes in the same category
501
Not Implemented
The server does not support the functionality required to fulfill the request
502
Bad Gateway
The server was acting as a gateway or proxy and received an invalid response from the upstream server
503
Service Unavailable
The server is currently unavailable (overloaded or down for maintenance)