@arkkitehti_taneli

Почему может возникать ошибка SimpleQIWI.errors.QIWIAPIerror?

текст ошибки:

Exception in thread Thread-145:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
Exception in thread Thread-157:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 257, in _async_loop
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 257, in _async_loop
target()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 263, in _parse_payments
payments = self.payments
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 60, in payments
return self._get_payments()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 167, in _get_payments
raise QIWIAPIError(data)
SimpleQIWI.Errors.QIWIAPIError: {'serviceName': 'payment-history', 'errorCode': 'request.blocked', 'description': 'request blocked, try again later', 'userMessage': 'request blocked, try again later', 'dateTime': '2021-07-30T22:13:03.846+03:00', 'traceId': '4181229f0abf44e6'}
target()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 263, in _parse_payments
payments = self.payments
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 60, in payments
return self._get_payments()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 167, in _get_payments
raise QIWIAPIError(data)
SimpleQIWI.Errors.QIWIAPIError: {'serviceName': 'payment-history', 'errorCode': 'request.blocked', 'description': 'request blocked, try again later', 'userMessage': 'request blocked, try again later', 'dateTime': '2021-07-30T22:13:03.818+03:00', 'traceId': 'f2f392d6907bceb9'}
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 257, in _async_loop
target()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 263, in _parse_payments
payments = self.payments
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 60, in payments
return self._get_payments()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 167, in _get_payments
raise QIWIAPIError(data)
SimpleQIWI.Errors.QIWIAPIError: {'serviceName': 'payment-history', 'errorCode': 'request.blocked', 'description': 'request blocked, try again later', 'userMessage': 'request blocked, try again later', 'dateTime': '2021-07-30T22:13:03.978+03:00', 'traceId': '38dba11ecba0fa9e'}
Exception in thread Thread-162:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 257, in _async_loop
target()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 263, in _parse_payments
payments = self.payments
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 60, in payments
return self._get_payments()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 167, in _get_payments
raise QIWIAPIError(data)
SimpleQIWI.Errors.QIWIAPIError: {'serviceName': 'payment-history', 'errorCode': 'request.blocked', 'description': 'request blocked, try again later', 'userMessage': 'request blocked, try again later', 'dateTime': '2021-07-30T22:13:05.164+03:00', 'traceId': '6062aca25695cb8c'}
Exception in thread Thread-168:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 257, in _async_loop
target()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 263, in _parse_payments
payments = self.payments
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 60, in payments
return self._get_payments()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 167, in _get_payments
raise QIWIAPIError(data)
SimpleQIWI.Errors.QIWIAPIError: {'serviceName': 'payment-history', 'errorCode': 'request.blocked', 'description': 'request blocked, try again later', 'userMessage': 'request blocked, try again later', 'dateTime': '2021-07-30T22:13:16.717+03:00', 'traceId': 'beb8a04e6bd44c00'}
Exception in thread Thread-175:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 257, in _async_loop
target()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 263, in _parse_payments
payments = self.payments
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 60, in payments
return self._get_payments()
File "/usr/lib/python3.9/site-packages/SimpleQIWI/Session.py", line 167, in _get_payments
raise QIWIAPIError(data)
SimpleQIWI.Errors.QIWIAPIError: {'serviceName': 'payment-history', 'errorCode': 'request.blocked', 'description': 'request blocked, try again later', 'userMessage': 'request blocked, try again later', 'dateTime': '2021-07-30T22:13:37.154+03:00', 'traceId': '105686cf913ac95a'}
  • Вопрос задан
  • 76 просмотров
Решения вопроса 1
pro100chel
@pro100chel Куратор тега Python
Python && PHP Developer
Если учитывать что ты запрашиваешь историю платежей то это может быть:

1) нет нужных разрешений у токена
2) превышена частота запросов истории платежей (100 запросов в минуту)
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
IT MEGASTAR Новосибирск
от 80 000 до 130 000 ₽
Maroom Москва
от 120 000 до 180 000 ₽
Data Chemistry Lab Санкт-Петербург
от 150 000 до 200 000 ₽
16 сент. 2021, в 14:52
2000 руб./за проект
16 сент. 2021, в 14:22
180000 руб./за проект