An administrator reported they are unable to configure replication using REST API however configuring replication through UI works.
API GET request :
GET https://####/api/rest/vr/v2/pairings/?filter_property=remote_vrms.name&filter=####
API GET request Output :
{
"list": [],
"_meta": {
"total": 0,
"offset": 0,
"limit": 100,
"links": {
"next": null,
"self": {
"href": "https://####/api/rest/vr/v2/pairings/?filter_property=remote_vrms.name&filter=####"
},
"previous": null
}
}
}
VMware Live Site Recovery 9.0.2
vSphere replication certificate was in expired state.
Regenerate the vSphere replication certificate from VAMI and reconfigure the vSphere replication appliance.