Выдаёт ошибку [Errno Expecting value]: 0 В чем может быть проблема?
from SimpleQIWI import *
token = "тут токен"
phone = "тут номер"
api = QApi(token=token, phone=phone)
print(api.balance)
---------------------------------------------------------------------------------------------------------------------------------------------------- Вот ошибка полностью
Traceback (most recent call last):
File "C:\Users\User\Desktop\qiwi\main.py", line 7, in
(print(api.balance))
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\SimpleQIWI\Session.py", line 80, in balance
balances = self.full_balance
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\SimpleQIWI\Session.py", line 70, in full_balance
return self._get_balance()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\SimpleQIWI\Session.py", line 128, in _get_balance
json = response.json()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0