You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2021-03-21 20:35:28,847 DEBUG yapapi.events] ActivityCreateFailed(agr_id='cf6fa25bd438c213e8f8940bba164bbd1c540eee790c6b512f221edd3b5e2ce4', exc_info=(<class 'ya_activity.exceptions.ApiException'>, ApiException(), <traceback object at 0x7f300f841e10>))
Traceback (most recent call last):
File "/root/miniconda3/envs/rdkit/lib/python3.7/site-packages/yapapi/executor/__init__.py", line 464, in start_worker
act = await activity_api.new_activity(agreement.id)
File "/root/miniconda3/envs/rdkit/lib/python3.7/site-packages/yapapi/rest/activity.py", line 43, in new_activity
activity_id = await self._api.create_activity(agreement_id)
File "/root/miniconda3/envs/rdkit/lib/python3.7/site-packages/ya_activity/api_client.py",
line 205, in __call_api
raise e
File "/root/miniconda3/envs/rdkit/lib/python3.7/site-packages/ya_activity/api_client.py",
line 201, in __call_api
_request_timeout=_request_timeout,
File "/root/miniconda3/envs/rdkit/lib/python3.7/site-packages/ya_activity/rest.py", line 276, in POST
body=body,
File "/root/miniconda3/envs/rdkit/lib/python3.7/site-packages/ya_activity/rest.py", line 180, in request
raise ApiException(http_resp=r)
ya_activity.exceptions.ApiException: (400)
Reason: Bad Request
HTTP response headers: <CIMultiDictProxy('Content-Length': '144', 'Content-Type': 'application/json', 'Date': 'Sun, 21 Mar 2021 19:35:28 GMT')>
HTTP response body: {"message":"Bad request: Agreement cf6fa25bd438c213e8f8940bba164bbd1c540eee790c6b512f221edd3b5e2ce4 is not Approved. Current state: Terminated"}
Seeing this in my logs a lot:
The text was updated successfully, but these errors were encountered: