# Fault - HttpFault(vim.fault.HttpFault)

Thrown by
  HttpNfcLeasePullFromUrls_Task
Extends
  VimFault
Since
  vSphere API 6.7

## Fault Description

Generic base class for outbound HTTP communication errors.

Properties

Name | Type | Description
--- | --- | ---
statusCode | xsd:int | HTTP status code received from external web-server.
statusMessage | xsd:string | HTTP status message received from external web-server.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HttpFault"> <complexContent> <extension base="vsan:VimFault"> <sequence> <element name="statusCode" type="xsd:int"/> <element name="statusMessage" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>