500 error code is used to speicify
HTTP Version Not Supported
The upstream server failed to send a request in the time allowed by the server.
The server received an invalid response from the upstream server while trying to fulfill the request.
The request was unsuccessful due to an unexpected condition encountered by the server.