We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In [7]: debit = balanced.Debit(source=card_uri, amount=100).save() --------------------------------------------------------------------------- HTTPError Traceback (most recent call last) <ipython-input-7-2ae239434505> in <module>() ----> 1 debit = balanced.Debit(source=card_uri, amount=100).save() /Users/marshall/code/balanced/balanced-python/balanced/resources.pyc in save(self) 157 ) 158 --> 159 resp = method(href, data=attrs) 160 161 instance = self.__class__(**resp.data) /Users/marshall/.virtualenvs/balanced-python/lib/python2.7/site-packages/wac.py in post(self, uri, data, **kwargs) 452 kwargs.setdefault('headers', {}) 453 kwargs['headers']['Content-Type'] = mime_type --> 454 return self._op(self.interface.post, uri, data=data, **kwargs) 455 456 def put(self, uri, data=None, **kwargs): /Users/marshall/.virtualenvs/balanced-python/lib/python2.7/site-packages/wac.py in _op(self, f, uri, **kwargs) 510 handle_redirect(response) 511 except requests.HTTPError as ex: --> 512 handle_error(ex) 513 514 response.data = None /Users/marshall/.virtualenvs/balanced-python/lib/python2.7/site-packages/wac.py in handle_error(ex) 487 raise Redirection(ex) 488 ex = self.config.error_cls(ex) --> 489 raise ex 490 491 kwargs.setdefault('headers', {}) HTTPError: 400 Client Error: BAD REQUEST
I want "HTTPError: 400 Client Error: BAD REQUEST - Some descriptive error message here"
The text was updated successfully, but these errors were encountered:
matthewfl
No branches or pull requests
I want "HTTPError: 400 Client Error: BAD REQUEST - Some descriptive error message here"
The text was updated successfully, but these errors were encountered: