When requesting upfront price for a catalog item, the Price Estimate may fail with the error: Invalid storage class size for the '<storage policy>', must be greater than 0.
The pricing estimate fails when requesting a VM from a catalog item with an OVF image:
The environment has a single storage class configured:
VCF Automation 9.1.0.0
The pricing estimation service requires the storage class size (disk capacity) of the VM image to calculate the daily price. For OVF-based images, the content library item API currently does not provide total capacity for those disks and hence the validation throws the error.
The VM itself deploys successfully even though the pricing estimate fails. Users can proceed with the deployment and ignore the pricing estimate error.