No class found for dispatch key 'process' in registry for type 'Block'

I recently upgraded prefect from 2.3.1 to 2.10.18. I don’t have any custom blocks and was using the default Process block from the deployment. When I trigger a flow run for a deployment from the UI or run prefect deployment inspect flowxyz its erroring out like this

Traceback (most recent call last):
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/cli/", line 41, in wrapper
    return fn(*args, **kwargs)
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/utilities/", line 255, in coroutine_wrapper
    return call()
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/_internal/concurrency/", line 383, in __call__
    return self.result()
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/_internal/concurrency/", line 283, in result
    return self.future.result(timeout=timeout)
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/_internal/concurrency/", line 169, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/", line 389, in __get_result
    raise self._exception
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/_internal/concurrency/", line 346, in _run_async
    result = await coro
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/cli/", line 283, in inspect
    deployment_json["infrastructure"] = Block._from_block_document(
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/blocks/", line 618, in _from_block_document
    else cls.get_block_class_from_schema(block_document.block_schema)
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/blocks/", line 672, in get_block_class_from_schema
    return cls.get_block_class_from_key(block_schema_to_key(schema))
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/blocks/", line 683, in get_block_class_from_key
    return lookup_type(cls, key)
  File "/root/.Envs/venv/lib/python3.8/site-packages/prefect/utilities/", line 185, in lookup_type
    raise KeyError(
KeyError: "No class found for dispatch key 'process' in registry for type 'Block'."
An exception occurred.

The similar issue I found recommended installing any missing packages, but since Process is the default block, I didn’t find any extra packages that needed to be installed. Would be great if you can help figure this one out.