Error: Runtime API failed with error: Failed to fetch MAC or VTEP table of logical switch <UUID> from CCP: null... (Error code: 500255)
GET https://<nsx-mngr>/policy/api/v1/infra/segments/VLAN-Test-Segment/mac-table?format=csv
o/p:
{
"error_code": 500255,
"module_name": "Policy",
"error_message": "Runtime API failed with error: Failed to fetch MAC or VTEP table of logical switch 200330e7-####-####-####-651c7235f464 from CCP: null.."
}
> get logical-switch 200330e7-####-####-####-651c7235f464 mac-table
Fri Nov 03 2023 UTC 02:52:27.091
% VLAN backed logical switch not supported
This issue is resolved in VMware NSX 4.2.0
Note: From NSX 4.1.1 onwards the error message has been modified to provide more context on why the error is thrown (i.e. "NOT_FOUND") instead of the generic error we can see in the "Issue/Introduction" section."error_message": "CCP replied with error NOT_FOUND, for MAC or VTEP table of logical switch 200330e7-####-####-####-651c7235f464."