Added basic error message when the server responds with HTTP 500