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

Getting error during Getting VM with v2 API using Prism central

  • April 21, 2021
  • 1 reply
  • 1445 views

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

1 reply

Forum|alt.badge.img+4
  • Nutanix Employee
  • 69 replies
  • June 25, 2021

HI @swamius 

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