A
A
arkkitehti_taneli2021-07-30 22:15:13
Python
arkkitehti_taneli, 2021-07-30 22:15:13

Why can SimpleQIWI.errors.QIWIAPIerror occur?

error text:

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'}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SKEPTIC, 2021-07-31
@arkkitehti_taneli

Considering that you are requesting a payment history, this may be:
1) the token does not have the necessary permissions
2) the frequency of requests for payment history has been exceeded (100 requests per minute)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question