77.123.141.138 - - [06/Apr/2021:09:03:50 +0000] "GET /api/procedures/602ba39183a59792d63a5459/bids/07cd0f72eb23488e8696dcd7407cc434/documents/b35619f8d20d486587bb912bdf513166/download?token= HTTP/1.1" 500 36 "-" "Mozila/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MyIE2;" 503 0.009 [prozorro-sale-prozorro-sale-prozorro-sale-procedure-api-http] [] 10.233.79.222:80 36 0.008 500 54c9bfc676fbf537e68580571ba563ce
[2021-04-06T09:03:50.908Z] | prozorro_sale.procedure.errors | ERROR - Unknown error caught in API - Forbidden state - complete | X-Request-ID: 54c9bfc676fbf537e68580571ba563ce
Traceback (most recent call last):
File "/procedure/prozorro_sale/procedure/state_machine/__init__.py", line 12, in __getattr__
return getattr(self.get_current_state(), item)
AttributeError: 'Complete' object has no attribute 'get_bid_document'
During handling of the above exception, another exception occurred:
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.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 113, in access_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/utils.py", line 93, 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 45, in request_unpack_params
return await handler(request, **request.match_info)
File "/procedure/prozorro_sale/procedure/utils.py", line 62, in handler
res = await func(request, *args, **kwargs)
File "/procedure/prozorro_sale/procedure/api.py", line 428, in download_bid_document
document = procedure.get_bid_document(bid_id, doc_id, ctx)
File "/procedure/prozorro_sale/procedure/state_machine/__init__.py", line 14, in __getattr__
raise errors.ForbiddenStateError(self.status)
prozorro_sale.procedure.errors.ForbiddenStateError: Forbidden state - complete