We just got this error in our logs? Anybody knows what this means?
Copy code
Failed to set task state with error: ClientError([{'path': ['set_task_run_states'], 'message': 'State update failed for task run ID 0c1f4327-19fe-4522-8f8c-ad4c2fb7dc45: provided a running state but associated flow run c4d445b2-8d4e-4863-9ba5-b89b5addeba3 is not in a running state.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}])
Traceback (most recent call last):
File "/opt/app/.venv/lib/python3.8/site-packages/prefect/engine/cloud/task_runner.py", line 112, in call_runner_target_handlers
state = self.client.set_task_run_state(
File "/opt/app/.venv/lib/python3.8/site-packages/prefect/client/client.py", line 1295, in set_task_run_state
result = self.graphql(
File "/opt/app/.venv/lib/python3.8/site-packages/prefect/client/client.py", line 287, in graphql
raise ClientError(result["errors"])
prefect.utilities.exceptions.ClientError: [{'path': ['set_task_run_states'], 'message': 'State update failed for task run ID 0c1f4327-19fe-4522-8f8c-ad4c2fb7dc45: provided a running state but associated flow run c4d445b2-8d4e-4863-9ba5-b89b5addeba3 is not in a running state.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
n
nicholas
08/21/2020, 1:06 PM
Hi @Michael Ludwig - are you using Prefect Server or Cloud?
m
Michael Ludwig
08/21/2020, 1:58 PM
It is Cloud
n
nicholas
08/21/2020, 2:14 PM
Got it, sorry you're experiencing that! Let me see if the Cloud team has any insight on what's going on here
m
Michael Ludwig
08/21/2020, 2:56 PM
I could not really reproduce it but was just wondering about that. I tried to restart a failed flow if that helps 🙂
n
nicholas
08/21/2020, 2:58 PM
Hm that's helpful, I'm not able to repro either but I'll have the Cloud team dig into logs to see if there was something peculiar about that run
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.