# Fault - GatewayToHostAuthFault(vim.fault.GatewayToHostAuthFault)

Thrown by
  AddHost_Task, AddStandaloneHost_Task, QueryConnectionInfoViaSpec, ReconnectHost_Task
Extends
  GatewayToHostConnectFault
Since
  vSphere API 6.0

## Fault Description

GatewayToHostAuthFault is thrown by the gateway used to communicate with a host, if the gateway cannot authenticate to the host with the provided authentication data. The fault provides information, which of the properties given in the authentication data are invalid or if more properties are required.
See hostAuthParams

Properties

Name | Type | Description
--- | --- | ---
invalidProperties | xsd:string[] | List of properties that have been provided in the authentication data but have wrong values.
missingProperties | xsd:string[] | List of properties that do not have their values specified in the provided authentication data but are required.
Properties inherited from GatewayToHostConnectFault
hostname, port
Properties inherited from GatewayConnectFault
details, gatewayId, gatewayInfo, gatewayType
Properties inherited from HostConnectFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="GatewayToHostAuthFault"> <complexContent> <extension base="vim25:GatewayToHostConnectFault"> <sequence> <element name="invalidProperties" type="xsd:string" maxOccurs="unbounded"/> <element name="missingProperties" type="xsd:string" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>