# Fault - InvalidController(vim.fault.InvalidController)

Thrown by
  AttachDisk_Task, VslmAttachDisk_Task
Extends
  InvalidDeviceSpec
Since
  2.0

## 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:vslm="urn:vslm" name="InvalidController"> <complexContent> <extension base="vslm:InvalidDeviceSpec"> <sequence> <element name="controllerKey" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType>