harwee / IQOption-Api

** Unmaintained ** I have rewritten some of the functionality using async if you are want to use the updated code you can use the code from `async` branch
Apache License 2.0
52 stars 54 forks source link

my issues from json #37

Open themow opened 5 years ago

themow commented 5 years ago

Traceback (most recent call last): line 3, in api.login() # Returns True if successful else False line 897, in json return complexjson.loads(self.text, **kwargs) line 348, in loads return _default_decoder.decode(s) line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 5 (char 4)

how can i fix it ,thank you

harwee commented 5 years ago

check whether the script is using the new login endpoint, if true it may be a network error

ailtondvieira commented 5 years ago

Please, already tried it and don't worked.