bitstamp-python-client icon indicating copy to clipboard operation
bitstamp-python-client copied to clipboard

Could not decode json for: " + response.text

Open stefansill opened this issue 7 years ago • 0 comments

When i let my script run it works fine for like 2-3 minutes, then it stops giving me this error. Could not find anything in the Documentation.

Traceback (most recent call last): File "C:\Users\Stefan\Desktop\btc.py", line 15, in ethusdbid = float(public_client.ticker(base='eth')['bid']) File "C:\Users\Stefan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bitstamp\client.py", line 111, in ticker return self._get(url, return_json=True, version=2) File "C:\Users\Stefan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bitstamp\client.py", line 39, in _get return self._request(requests.get, *args, **kwargs) File "C:\Users\Stefan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bitstamp\client.py", line 98, in _request "Could not decode json for: " + response.text) bitstamp.client.BitstampError: Could not decode json for:

stefansill avatar Jan 21 '18 13:01 stefansill