# Fault - KeyNotFound(vim.fault.KeyNotFound)

Thrown by
  HostRetrieveVStorageObjectMetadataValue
Extends
  VimFault
Since
  vSphere API 6.7.2

## Fault Description

An KeyNotFound fault is returned when the key does not exist among key value pairs.

Properties

Name | Type | Description
--- | --- | ---
key | xsd:string | The non existing key.
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="KeyNotFound"> <complexContent> <extension base="pbm:VimFault"> <sequence> <element name="key" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>