I'm getting an error "UserWarning: Block document has schema checksum... This indicates the schema has changed and this block may not load." - how to fix it?

Try deleting the block, optionally also deleting the block type, upgrade the relevant collection and reregister the block type, e.g. for GcpCredentials:

prefect block delete gcp-credentials/block_name
prefect block type delete gcp-credentials

pip install prefect_gcp --upgrade
prefect block register -m prefect_gcp
1 Like