# Fault - InvalidFolder(vim.fault.InvalidFolder)

Thrown by
  MoveIntoFolder_Task
Extended by
  VmAlreadyExistsInDatacenter
Extends
  VimFault
See also
  ManagedEntity

## 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:sms="urn:sms" name="InvalidFolder"> <complexContent> <extension base="sms:VimFault"> <sequence> <element name="target" type="sms:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>