Пытаюсь вставить аутентификационный ключ qiwi, и выдаёт следующую ошибку в независимости от размера ключа:
File "C:\Users\user\Desktop\Bot.py", line 15, in <module>
p2p = QiwiP2P(auth_key=QIWI_PRIV_KEY)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pyqiwip2p\Qiwip2p.py", line 42, in __init__
self.validate_privkey(auth_key)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pyqiwip2p\Qiwip2p.py", line 94, in validate_privkey
key_decoded = b64decode(privkey).decode()
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\base64.py", line 89, in b64decode
return binascii.a2b_base64(s)
binascii.Error: Invalid base64-encoded string: number of data characters (33) cannot be 1 more than a multiple of 4
QIWI_PRIV_KEY = "jMyN22DQxMjM6NDUzRmRnZDQ0Mw11212e"
qiwi_notify = QiwiNotify(QIWI_PRIV_KEY)
p2p = QiwiP2P(auth_key=QIWI_PRIV_KEY)
new_bill = p2p.bill()