| Jun 22, 2021 @ 09:37:55.605 | prozorro-sandbox | [2021-06-22T06:37:55.605Z] | aiohttp.access | INFO - "93.78.206.29 POST /api/procedures HTTP/1.1 500 270 - - 0.002877 " | X-Request-ID: cee6f38c-fdaa-4aea-bd5a-237b6c55471f | /api/procedures | 500 | - | prozorro-sandbox-prozorro-sale-procedure-api-75b46fbdcd-wlzxj
[2021-06-22T06:37:55.603Z] | prozorro_sale.procedure.errors | ERROR - Unknown error caught in API - 'status' | X-Request-ID: cee6f38c-fdaa-4aea-bd5a-237b6c55471f
Traceback (most recent call last):
File "/procedure/prozorro_sale/procedure/errors.py", line 75, in request_errors_middleware
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/auth/__init__.py", line 107, in context_middleware
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/auth/__init__.py", line 114, in access_middleware
return await check_access(handler)(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/auth/__init__.py", line 123, in handler
return await func(request, *args, **kwargs)
File "/procedure/prozorro_sale/procedure/utils.py", line 98, in accept_language_middleware
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/__init__.py", line 81, in retry_on_concurrency_error_middleware
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/__init__.py", line 65, in handler
return await func(request, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/__init__.py", line 43, in request_unpack_params
return await handler(request, **request.match_info)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/__init__.py", line 106, in handler
return await func(request, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/__init__.py", line 65, in handler
return await func(request, *args, **kwargs)
File "/procedure/prozorro_sale/procedure/api.py", line 54, in create_procedure
procedure = model_generator.create_procedure(data, _id=blank._id, owner=user.name)
File "/procedure/prozorro_sale/procedure/model_generator.py", line 82, in create_procedure
proc = procType(data, **kwargs)
File "/procedure/prozorro_sale/procedure/packages/landRental/types.py", line 53, in __init__
utils.validate_bids_for_custom_types(data, 1)
File "/procedure/prozorro_sale/procedure/utils.py", line 205, in validate_bids_for_custom_types
if len([bid for bid in data['bids'] if bid['status'] == 'active']) < min_bid_count:
File "/procedure/prozorro_sale/procedure/utils.py", line 205, in <listcomp>
if len([bid for bid in data['bids'] if bid['status'] == 'active']) < min_bid_count:
KeyError: 'status'