There is no error object in JSON received from API, so I got python exception instead of correct exception: https://github.com/koty/python-stackpath/blob/master/stackpath/stackpath.py#L75-L77
This should be resp['status'] and resp['error']