# 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:vim25="urn:vim25" name="InvalidProfileReferenceHost"> <complexContent> <extension base="vim25:RuntimeFault"> <sequence> <element name="reason" type="xsd:string" minOccurs="0"/> <element name="host" type="vim25:ManagedObjectReference" minOccurs="0"/> <element name="profile" type="vim25:ManagedObjectReference" minOccurs="0"/> <element name="profileName" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>