# Fault - PatchMetadataInvalid(vim.fault.PatchMetadataInvalid)

Thrown by
  InstallHostPatch_Task, ScanHostPatch_Task
Extended by
  PatchMetadataCorrupted, PatchMetadataNotFound
Extends
  VimFault
Since
  VI API 2.5

## Fault Description

This fault is thrown if a patch query or installation operation fails because of a problem with the metadata associated with the patch. Typically, a subclass of this exception is thrown, indicating a problem such as the metadata is not found or the metadata is corrupted.

Properties

Name | Type | Description
--- | --- | ---
metaData* | xsd:string[] | The metadata file that is not available or corrupted.
patchID | xsd:string | The patch ID whose associated metadata is invalid.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="PatchMetadataInvalid"> <complexContent> <extension base="pbm:VimFault"> <sequence> <element name="patchID" type="xsd:string"/> <element name="metaData" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>