Members/ip-addresses API responded with http status code 400
search cancel

Members/ip-addresses API responded with http status code 400

book

Article ID: 419719

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

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

Environment

VMware NSX Datacenter.

Cause

When the connectivity between the Proton and CCP Services breaks, the API members/ip-addresses API responds with http status code 400.

Resolution

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.