Exception raised when an unexpected HTTP error is received in response to a request.
The request failed, meaning the remote HTTP server returned a code other than success, unauthorized, or NotFound.
The exception message attempts to extract the error
You can get the status code by e.http_code, or see anything about the response via e.response. For example, the entire result body (which is probably an HTML error page) is e.response.body.