# Fault - InvalidName(vim.fault.InvalidName)

Thrown by
  AddAuthorizationRole, AddDVPortgroup_Task, AddNetworkResourcePool, CreateAlarm, CreateChildVM_Task, CreateCluster, CreateClusterEx, CreateDatacenter, CreateDVPortgroup_Task, CreateDVS_Task, CreateFolder, CreateLocalDatastore, CreateObjectScheduledTask, CreateResourcePool, CreateScheduledTask, CreateSnapshot_Task, CreateSnapshotEx_Task, CreateStoragePod, CreateVApp, CreateVM_Task, CreateVvolDatastore, DvsReconfigureVmVnicNetworkResourcePool_Task, ImportVApp, QueryOptions, ReconfigureAlarm, ReconfigureDVPortgroup_Task, ReconfigureDvs_Task, ReconfigureScheduledTask, ReconfigVM_Task, ReconnectHost_Task, RegisterChildVM_Task, RegisterVM_Task, RemoveNetworkResourcePool, Rename_Task, RenameDatastore, RenameSnapshot, StartRecording_Task, UpdateAuthorizationRole, UpdateConfig, UpdateNetworkResourcePool, UpdateOptions, UpdateScsiLunDisplayName, UpdateVAppConfig
Extends
  VimFault
See also
  ManagedEntity

## Fault Description

A InvalidName fault is thrown when the name contains an invalid character or format.

Properties

Name | Type | Description
--- | --- | ---
entity* | ManagedObjectReference to a ManagedEntity | Entity, if any, that has an invalid name.
name | xsd:string | The invalid name.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="InvalidName"> <complexContent> <extension base="vim25:VimFault"> <sequence> <element name="name" type="xsd:string"/> <element name="entity" type="vim25:ManagedObjectReference" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>