Reporting a bug - I have a cloud run job block th...
# prefect-cloud
j
Reporting a bug - I have a cloud run job block that I used to have a command for. I've erased everything in the "command" section, but now runs of
prefect deployment
are failing with:
Copy code
pydantic.error_wrappers.ValidationError: 1 validation error for CloudRunJob
command
  value is not a valid list (type=type_error.list)
The value is now null - I don't think "command" should still be checked at this point
Workaround is to create a new block with a different name and reference that in the deployment command, but I'd rather not have to do that in the future
I have a possible suggestion for a feature request as well - when there are errors in the prefect cloud console (eg. "Failed to delete block") can user-friendly error message also be surfaced? My issue was that I tried to delete a block that a flow depends on, but I would not know that just from a general "oops".
b
Thanks for this @Jane Jeong! Would you be willing to add an issue with this suggestion?
1