Skip to content

Unknown errors #231

@sdenenberg

Description

@sdenenberg

Hello,

This may or may not be a gdax-python issue and I'm hoping someone can help me understand what is going on. I am writing a script that pulls data from gdax every few seconds, using a combination of get_product_ticker, get_account, and other calls. Every 20 minutes or so my script crashes with the following traceback:

Time elapsed: -1199.2530570030212
Traceback (most recent call last):
File "test.py", line 73, in
eth_account = auth_client.get_account("1f3aee21-bd3b-42cd-899c-51cb2a648947")
File "C:\ProgramData\Anaconda3\lib\site-packages\gdax-1.0.6-py3.6.egg\gdax\authenticated_client.py", line 27, in get_account
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\models.py", line 850, in json
return complexjson.loads(self.text, **kwargs)
File "C:\ProgramData\Anaconda3\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The line that fails is different each time, the only consistency is that it is a function of gdax-python. Any thoughts?

Thanks,

Scott

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions