500
🔥 Server Error RFC 9110, Section 15.6.1

Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request.

Common Use

Generic server error. Used for unhandled exceptions, database connection failures, or any unexpected server-side problem.

API Endpoint

https://codes.uncodigo.com/http/500

Example with curl

curl -i https://codes.uncodigo.com/http/500

Try It

GET /http/500
Click "Send Request" to see the response...

Example

Request

GET /api/users HTTP/1.1

Response

HTTP/1.1 500 Internal Server Error

{"error": "Database connection failed"}