# Fault - InvalidFolder(vim.fault.InvalidFolder)

Thrown by
  MoveIntoFolder_Task
Extended by
  VmAlreadyExistsInDatacenter
Extends
  VimFault
See also
  ManagedEntity
Since
  2.0

## Fault Description

An InvalidFolderFault exception is thrown when a node is moved to an invalid place in the hierarchy.

This can be because it is a child of the current node, or a wrong kind of container.

Properties

Name | Type | Description
--- | --- | ---
target | ManagedObjectReference to a ManagedEntity | Reference to invalid target.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="InvalidFolder"> <complexContent> <extension base="vim25:VimFault"> <sequence> <element name="target" type="vim25:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>