Hi Prefect community :wave:, We are running Prefe...
# ask-community
s
Hi Prefect community 👋, We are running Prefect 2.9.0, and we are experimenting the following errors when running and retrying tasks in the Flow logs:
Copy code
Encountered exception during execution:                                                                                                                                                                            
Traceback (most recent call last):
...
  File "/usr/local/lib/python3.10/site-packages/prefect/states.py", line 98, in _get_state_result
    result = await state.data.get()
  File "/usr/local/lib/python3.10/site-packages/prefect/results.py", line 394, in get
    raise MissingResult("The result was not persisted and is no longer available.")
prefect.exceptions.MissingResult: The result was not persisted and is no longer available.

Finished in state Failed('Flow run encountered an exception. MissingResult: The result was not persisted and is no longer available.\n')
We are using the persistence of the result on some tasks using the
@task(persist_result=True)
but when click again
Retry
for the flow to retry, we got the following error and we couldn’t go further with the flow. Is it a known issue? I saw couple of opened issues on GitHub related to persistence • https://github.com/PrefectHQ/prefect/issues?q=is%3Aissue+is%3Aopen+MissingResult+ At this stage, we are not sure, what to do to unlock the flows and continue the progression 🤔. Any help to unblock the flow will be appreciated, thanks! 🤝
Any ideas?