This resource is to inform all about HCX GetAppliance API failure and how to recover that.
Symptoms:
Customer may report an issue where "
GetAppliance" API call failed to execute and below error can be seen in the API response.
API:
curl --location --request GET 'https://hcx_mgr_IP/hybridity/api/interconnect/appliances' \
Response:
<?xml version='1.0' encoding='UTF-8'?>
<com.vmware.vchs.hybridity.api.common.model.ErrorResponse>
<errors>
<com.vmware.vchs.hybridity.api.common.model.Error>
<code>E_INVALID_SCHEMA</code>
<message>JSONObject["networks"] not found.</message>
</com.vmware.vchs.hybridity.api.common.model.Error>
</errors>
</com.vmware.vchs.hybridity.api.common.model.ErrorResponse>