The GET API "/infra/domains/{domain-id}/groups/{group-id}/members/ip-addresses" returns a status code 400 - Bad Request Response when a group is in the failed state, and the failed group status is reported in the GUI and not via the API.
Response:
{
"httpStatus": "BAD_REQUEST",
"error_code": 500141,
"module_name": "Policy",
"error_message": "Error while getting membership for the Group /infra/domains/default/groups/DX-X-AX-XXX-XXX-0XXXX1-Production from enforcement point null. Probable cause: Connectivity issue - null"
}
Relevant log’s location:
/var/log/proton/nsxapi.log
VMware NSX Datacenter.
When the connectivity between the Proton and CCP Services breaks, the API members/ip-addresses API responds with http status code 400.
Versions where this is a known issue:
4.2.2
Workaround:
Ensure that the CCP and Proton services are UP and running.
Resolution:
Version where this is fixed:
9.1.