# Fault - InvalidProfileReferenceHost(vim.fault.InvalidProfileReferenceHost)

Thrown by
  CheckAnswerFileStatus_Task, CheckProfileCompliance_Task, CreateDefaultProfile, CreateProfile, QueryHostProfileMetadata, QueryPolicyMetadata, QueryProfileStructure, RetrieveDescription
Extends
  RuntimeFault
See also
  HostSystem, Profile
Since
  vSphere API 5.0

## Fault Description

A InvalidProfileReferenceHost fault is thrown when a valid host is not associated with a profile in the Virtual Center inventory. This could be because there is no host assciated with the profile or because the associated host is incompatible with the profile.

Properties

Name | Type | Description
--- | --- | ---
host* | ManagedObjectReference to a HostSystem | The incompatible host if associated with the profile.
profile* | ManagedObjectReference to a Profile | The profile with the invalid or missing reference host.
profileName* | xsd:string | The profile name: the replacement of the member above. Since vSphere API 6.5
reason* | xsd:string | The reason for the invalid reference host if known.
Properties inherited from RuntimeFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="InvalidProfileReferenceHost"> <complexContent> <extension base="vsan:RuntimeFault"> <sequence> <element name="reason" type="xsd:string" minOccurs="0"/> <element name="host" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="profile" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="profileName" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>