# Fault - InvalidDatastorePath(vim.fault.InvalidDatastorePath)

Thrown by
  ConvertNamespacePathToUuidPath, DeleteDirectory
Extends
  InvalidDatastore
Since
  2.0

## Fault Description

An InvalidDatastorePath exception is thrown if a datastore path violates the expected format. The expected format is "[dsName] path", e.g. "[storage1] folder/Vm1.vmdk". This exception is also thrown if a datastore corresponding to the given datastore path is not found.

Properties

Name | Type | Description
--- | --- | ---
datastorePath | xsd:string | The invalid datastore path name, if one was provided.
Properties inherited from InvalidDatastore
datastore, name
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="InvalidDatastorePath"> <complexContent> <extension base="pbm:InvalidDatastore"> <sequence> <element name="datastorePath" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>