https://prefect.io logo
Title
p

PRASHANT GARG

05/25/2022, 5:39 AM
Hi , What can be the reasons for flowstorage error while running a flow in prefect cloud
k

Kevin Kho

05/25/2022, 5:42 AM
Could you share the error?
p

PRASHANT GARG

05/25/2022, 5:49 AM
Failed to load and execute flow run: FlowStorageError(“An error occurred while unpickling the flow:\n TypeError(‘an integer is required (got type bytes)’)\nThis may be due to one of the following version mismatches between the flow build and execution environments:\n - cloudpickle: (flow built with ‘1.6.0’, currently running with ‘2.0.0’)\n - prefect: (flow built with ‘0.15.13’, currently running with ‘1.2.0’)\n - python: (flow built with ‘3.6.9’, currently running with ‘3.9.7’)“)
k

Kevin Kho

05/25/2022, 5:52 AM
This is saying registration and execution versions of
cloudpickle
prefect
and
python
need to match. Otherwise the deserialization will be off.