Getting error during Getting VM with v2 API using Prism central | Nutanix Community
Skip to main content

I’ve been using API to fetch VM info from v2 API from Prism Central

/PrismGateway/services/rest/v2.0/vms/0a771e50-a3f5-4b12-838d-2820884a6095/?include_vm_disk_config=true&include_vm_nic_config=true

The response I’m getting is as below

{"message":"Error occurred while getting VM list: RPC error kTransportError raised: Error response code: 404","detailed_message":null,"error_code":{"code":1202,"help_url":"http://my.nutanix.com"}}

This same API was working before

  • Tried VM from another cluster same response
  • V2 APIs from individual clusters are working with same UUID

Any help is appreciated, also if there is any documentation available where I can check what these codes mean

HI @swamius 

Can you please mention the AOS version on the Prism Central?Thanks


Reply