Chavithra / degiro-connector

This is yet another library to access Degiro's API.
BSD 3-Clause "New" or "Revised" License
215 stars 47 forks source link

Incorrect padding #106

Closed vicmol53 closed 1 year ago

vicmol53 commented 1 year ago

...\envs\degiro\lib\base64.py", line 205, in b32decode raise binascii.Error('Incorrect padding') binascii.Error: Incorrect padding

Hello community, Trying to connect with script 'connection_2fa.py' then this error occurs. ?

btw: Have a nice Christmas and happy new year Victor

Nico-lezicos commented 1 year ago

I have the same trouble here, thank you

paulomiguelfferreira commented 1 year ago

I also have this same problem, help please. Thank-you.

romanpeters commented 1 year ago

You need to use the TOTP seed key instead of a generated TOTP code.

Chavithra commented 1 year ago

Hello there,

@romanpeters mentioned I think you are using the one_time_password number instead of the totp_secret_key.

There is a good example on how to do it here: https://github.com/Chavithra/degiro-connector/issues/87#issuecomment-1216386035

Closing this issue.

Feel free to create another issue if you still can't use 2FA.