Hi , What can be the reasons for flowstorage error...
# prefect-community
p
Hi , What can be the reasons for flowstorage error while running a flow in prefect cloud
k
Could you share the error?
p
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
This is saying registration and execution versions of
cloudpickle
prefect
and
python
need to match. Otherwise the deserialization will be off.