500 error on post bid. procedure *-initial-auction
[2020-09-03T15:11:45.959Z] | prozorro_sale.procedure.errors | ERROR - Unknown error caught in API - 'NoneType' object has no attribute 'endDate' | X-Request-ID: 400a9b42-79f7-404d-9874-b1df999517df
Traceback (most recent call last):
File "/procedure/prozorro_sale/procedure/errors.py", line 76, in request_errors_middleware
return await handler(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/auth/__init__.py", line 74, in context_middleware
return await handler(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/auth/__init__.py", line 81, in access_middleware
return await check_access(handler)(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/auth/__init__.py", line 90, in handler
return await func(request, *args, **kwargs)
File "/procedure/prozorro_sale/procedure/utils.py", line 82, in accept_language_middleware
return await handler(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/tools/__init__.py", line 81, in retry_on_concurrency_error_middleware
return await handler(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/tools/__init__.py", line 67, in handler
return await func(request, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/tools/__init__.py", line 45, in request_unpack_params
return await handler(request, **request.match_info)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/tools/__init__.py", line 106, in handler
return await func(request, *args, **kwargs)
File "/procedure/prozorro_sale/procedure/api.py", line 128, in create_bid
bid_info = procedure.create_bid(data, context)
File "/procedure/prozorro_sale/procedure/roles.py", line 50, in handler
return func(*args, **kwargs)
File "/procedure/prozorro_sale/procedure/state_machine/states.py", line 207, in create_bid
if self._check_tender_period_is_over():
File "/procedure/prozorro_sale/procedure/state_machine/states.py", line 203, in _check_tender_period_is_over
return self.procedure.tenderPeriod.endDate < datetime.now()
AttributeError: 'NoneType' object has no attribute 'endDate'
Edited by Ghost User