Hi! I am facing an issue with flows crashing due to: ```prefect.exceptions.MissingResult: State data...
t
Hi! I am facing an issue with flows crashing due to:
Copy code
prefect.exceptions.MissingResult: State data is missing. Typically, this occurs when result persistence is disabled and the state has been retrieved from the API.
I am running same deployment multiple times with different parameters via API call using python requests. 4/5 runs of the deployment failed with this error. They start running and crashed half way. Prefect 2.8.2, prefect-aws 0.2.4. My flows are running in ECSTasks. Any ideas why this happens?
The error does not show in the Flow Log, it shows in the Agent Log.
103749.146 | WARNING | - Task run received abort during orchestration: The enclosing flow must be running to begin task execution. Task run is in PENDING state.
found this in the log also
k
Hey @Tibs, I was getting some similar error messages in a flow run. They were a symptom of another problem, but maybe this thread is related? https://prefect-community.slack.com/archives/CL09KU1K7/p1677167193741899
t
can't seems to find why this is happening..
c
This error tends to indicate some other issue, or something else happened further up in your execution - do you have any other errors, or warnings before this message
t
103749.146 | WARNING | - Task run received abort during orchestration: The enclosing flow must be running to begin task execution. Task run is in PENDING state.
this is the warning I see
could it be that tasks are mixed up between the flows? the flows run name is the same, task names are the same?
correction: flow run names are not the same
seems fine when I am triggering only 4 flows instead of 5
weird behavior