Thomas Pedersen
04/08/2022, 9:01 AMFailed to set task state with error: ClientError([{'message': 'Unable to complete operation. An internal API error occurred.', 'locations': [{'line': 2, 'column': 5}], 'path': ['set_task_run_states'], 'extensions': {'code': 'INTERNAL_SERVER_ERROR', 'exception': {'message': 'Unable to complete operation. An internal API error occurred.'}}}])
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/prefect/engine/cloud/task_runner.py", line 91, in call_runner_target_handlers
state = self.client.set_task_run_state(
File "/usr/local/lib/python3.9/site-packages/prefect/client/client.py", line 1598, in set_task_run_state
result = self.graphql(
File "/usr/local/lib/python3.9/site-packages/prefect/client/client.py", line 473, in graphql
raise ClientError(result["errors"])
prefect.exceptions.ClientError: [{'message': 'Unable to complete operation. An internal API error occurred.', 'locations': [{'line': 2, 'column': 5}], 'path': ['set_task_run_states'], 'extensions': {'code': 'INTERNAL_SERVER_ERROR', 'exception': {'message': 'Unable to complete operation. An internal API error occurred.'}}}]
In the same timespan, we had 5 flows running, 3 succeeded, only the 2 failed with the above error. The flows run every hour, in the previous hour and next hour everything was running fine.
start_time end_time state state_message
2022-04-08T02:00:13.555177+00:00 2022-04-08T02:14:19.782245+00:00 Failed Some reference tasks failed.
2022-04-08T02:00:13.558573+00:00 2022-04-08T02:14:23.027744+00:00 Success All reference tasks succeeded.
2022-04-08T02:00:13.849767+00:00 2022-04-08T02:14:25.492537+00:00 Success All reference tasks succeeded.
2022-04-08T02:00:13.929466+00:00 2022-04-08T02:14:23.787185+00:00 Failed Some reference tasks failed.
2022-04-08T02:00:14.427653+00:00 2022-04-08T02:21:56.436942+00:00 Success All reference tasks succeeded.
Anna Geller
04/08/2022, 10:08 AMThomas Pedersen
04/08/2022, 10:32 AMAnna Geller
04/08/2022, 10:44 AM