Error Code: 512 HTTP Status: 404 NOT_FOUND Module Name: common-services Error Message: "The URI is invalid"
This issue occurs when the NSX Manager Cluster enters a degraded state. Specifically, the CM-Inventory (Cloud Management Inventory) service on one or more NSX Manager nodes has crashed or stopped responding.
The 404 error is triggered because the management plane cannot route requests to the inventory service, leading to the "Invalid URI" response during the pre-check validation phase. This is often linked to memory exhaustion in the CM-Inventory process when managing a high volume of host objects.
To resolve this issue, you must identify the affected node and restart the failing service.
Log in to the NSX Manager UI.
Navigate to System > Appliances.
Check the status of the managers. If the cluster is Degraded, identify which node shows the CM-Inventory service as "Down" or "Unknown."
Open an SSH session to the NSX Manager node identified as degraded.
Log in with admin credentials.
Run the following command to restart the service:
restart service cm-inventor
Wait 2–3 minutes for the service to initialize.
Check the service status via CLI:
get service cm-inventory
Ensure the status shows Running.
Return to the NSX UI and verify that the Cluster Status is Stable.
Re-run the pre-check.