Error: "validation error on field 'name': String value has invalid format" when deleting vApp from Cloud Director UI
search cancel

Error: "validation error on field 'name': String value has invalid format" when deleting vApp from Cloud Director UI

book

Article ID: 373757

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Deleting a vApp fails with the following error:
    Details: [ ########-####-####-####-############ ] validation error on field 'name': String value has invalid format, value: [ vApp Name]
  • The name of the vApp starts with a space character. 
  • Removing the space character will fail with the below error:
    [ ########-####-####-####-############ ] Folder vApp Name (########-####-####-####-############) does not exist in our inventory, but vCenter Server claims that it does.
  • The folder does exist in the vCenter inventory
  • There are no VMs within the vApp
  • Delete and few other options for the vApp will be greyed out.

Environment

Cloud Director 10.x

Cause

This issue can occur when the vApp to be deleted has a space in the name field. 

Resolution

If updating the vApp name via UI or API is not working from your environment, contact technical support and note this Knowledge Article ID (320440) in the problem description. For more information, see How to Submit a Support Request.