# Fault - InvalidVmState(vim.fault.InvalidVmState)

Thrown by
  CryptoUnlock_Task
Extends
  InvalidState
See also
  VirtualMachine
Since
  vSphere API 6.5

## Fault Description

The VM has an invalid state.

Properties

Name | Type | Description
--- | --- | ---
vm | ManagedObjectReference to a VirtualMachine | The VM that has an invalid state.
Properties inherited from InvalidState
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="InvalidVmState"> <complexContent> <extension base="vsan:InvalidState"> <sequence> <element name="vm" type="vsan:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>