Jane Jeong

05/26/2023, 8:50 PM
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:
pydantic.error_wrappers.ValidationError: 1 validation error for CloudRunJob
  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".

Brandon Reid

06/01/2023, 4:42 PM
Thanks for this @Jane Jeong! Would you be willing to add an issue with this suggestion?