# Fault - AlreadyExists(vim.fault.AlreadyExists)

Thrown by
  AddAuthorizationRole, AddKey, AddPortGroup, AddVirtualNic, AddVirtualSwitch, AssignUserToGroup, CreateCustomizationSpec, CreateGroup, CreateIOTripAnalyzerRecurrences, CreateNasDatastore, CreateNvdimmNamespace_Task, CreateNvdimmPMemNamespace_Task, CreateUser, CreateVM_Task, CryptoManagerHostEnable, DuplicateCustomizationSpec, FormatVffs, FormatVmfs, HostRegisterDisk, InstallIoFilter_Task, ReconfigureDvs_Task, RegisterChildVM_Task, RegisterDisk, RegisterVM_Task, reloadVirtualMachineFromPath_Task, RenameCustomizationSpec, UpdateAuthorizationRole, UpdateNetworkConfig, UpdatePortGroup, UpdateUser, VsanCreateDatastoreSource
Extends
  VimFault
Since
  2.0

## Fault Description

An AlreadyExists fault is thrown when an attempt is made to add an element to a collection, if the element's key, name, or identifier already exists in that collection.

Properties

Name | Type | Description
--- | --- | ---
name* | xsd:string |
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:vsan="urn:vsan" name="AlreadyExists"> <complexContent> <extension base="vsan:VimFault"> <sequence> <element name="name" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>