Chandan Purbia

02/13/2023, 4:58 AM
Hello everyone, I am getting the following error for one of the flows on the Prefect Cloud
Failed to set task state with error: ClientError([{'path': ['set_task_run_states'], 'message': 'Operation timed out', 'extensions': {'code': 'API_ERROR'}}])
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/prefect/engine/cloud/", line 91, in call_runner_target_handlers
    state = self.client.set_task_run_state(
  File "/opt/venv/lib/python3.8/site-packages/prefect/client/", line 1917, in set_task_run_state
    result = self.graphql(
  File "/opt/venv/lib/python3.8/site-packages/prefect/client/", line 569, in graphql
    raise ClientError(result["errors"])
prefect.exceptions.ClientError: [{'path': ['set_task_run_states'], 'message': 'Operation timed out', 'extensions': {'code': 'API_ERROR'}}]
The other flows are running without any errors. Has someone faced this issue before and find a resolution? Any and all help will be appreciated 🙇 Prefect Version : 0.15 CC: @Salim Doost @Jacob Blanco
🙇 1

Jacob Blanco

02/13/2023, 6:44 PM
Any ideas on this we have tons of flows failing as a result of this.
I’ve reported the problem on the Cloud support system. This issue is starting to spread to other flows and happening more and more often can we get some help with this? Here’s a flow-run ID: 20da374c-e5d8-40b2-afd5-7694d8731272 Started Feb 14 at 7:32 Japan Standard Time
cc: @Salim Doost @Chandan Purbia @Jezreel Zamora Can we please make sure to follow-up on this with Prefect until we get an answer?