Аналіз помилки Internal server error. Виправити або додати її опрацювання
https://procedure.prozorro.sale/api/search/byAuctionId/RCD001-UA-20201221-55590 https://procedure.prozorro.sale/api/billing/accountData/RCD001-UA-20201221-55590
Відсутнє guarantee amount
"guarantee": {
"amount": 00000,
"currency": "UAH"
},
[2023-12-11T12:16:17.248Z] | prozorro_sale.tools.errors | ERROR - Unknown error caught in API - 'NoneType' object is not subscriptable | X-Request-ID: 28AD7F000001D3947F00000100506576FD903DC31F99178
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/errors.py", line 69, in handler
res = await func(request, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/errors.py", line 157, in _catch_error_middleware
return await handler(request, *args, **kwargs)
File "/billing-service/prozorro_sale/billing_service/api/api.py", line 110, in get_account_data_from_date
result = await request.app.threat_executor(calculator)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/billing-service/prozorro_sale/billing_service/data_calculator/calculator.py", line 123, in __call__
self.extension_data_calculate()
File "/billing-service/prozorro_sale/billing_service/data_calculator/calculator.py", line 51, in extension_data_calculate
self.apply_extension()
File "/billing-service/prozorro_sale/billing_service/data_calculator/extension_data_calculate/base.py", line 22, in apply_extension
Extension().extend(self)
File "/billing-service/prozorro_sale/billing_service/data_calculator/extension_data_calculate/arma.py", line 26, in extend
guarantee = calculator.procedure['guarantee']['amount']
TypeError: 'NoneType' object is not subscriptable
Edited by Olga Kochubynska