# Fault - InvalidController(vim.fault.InvalidController)

Thrown by
  AttachDisk_Task
Extends
  InvalidDeviceSpec

## Fault Description

An InvalidController exception is thrown if a device refers to a controller that cannot be found. For example, an exception might be thrown if the client incorrectly passes a controller key, or if the client did not specify a controller where one is required (such as for disks or CD-ROMs).

Properties

Name | Type | Description
--- | --- | ---
controllerKey | xsd:int |
Properties inherited from InvalidDeviceSpec
deviceIndex
Properties inherited from InvalidVmConfig
property
Properties inherited from VmConfigFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="InvalidController"> <complexContent> <extension base="vsan:InvalidDeviceSpec"> <sequence> <element name="controllerKey" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType>