Zarathustra2 / TradeRepublicApi

Unofficial trade republic API
MIT License
277 stars 68 forks source link

sms verification #8

Open dakonga opened 3 years ago

dakonga commented 3 years ago

After running timelineExporter.py i got a verification sms. How to handle it?

first run: Traceback (most recent call last): File "timelineExporter.py", line 11, in tr.login() File "../trapi/api.py", line 83, in login self.register_new_device() File "../trapi/api.py", line 50, in register_new_device self.signing_key.get_verifying_key().to_string("uncompressed") TypeError: to_string() takes 1 positional argument but 2 were given

next run: Traceback (most recent call last): File "timelineExporter.py", line 11, in tr.login() File "../trapi/api.py", line 83, in login self.register_new_device() File "../trapi/api.py", line 46, in register_new_device processId = r.json()["processId"] KeyError: 'processId'

nickerber commented 2 years ago

Obviously you did a mistake. I got the same error after I entered the wrong phone number in environment.py. Check the docs if you did all steps correctly, afterwards an sms will be sent and the command line asks you to "Enter your token".