VMware Cloud Community
markajohnson
Contributor
Contributor

vCloud HTTP 500 Trying to read network with API (v 1.5)

Help!  I've got a new installation and I'm having problems reading a network using the REST API.  I'm getting a 500 Internal Sever error on a GET for a network resource.  Here's the pieces of the log that show the network in the vdc and the GET and response:

This is part of the response from the GET vdc call:

...
    <AvailableNetworks>
        <Network type="application/vnd.vmware.vcloud.network+xml" name="Ospero_Internet" href="https://uk.vcloud.colt.net/api/network/95ea85e2
-c6ef-491c-8e83-0b35b4710c3e"/>
    </AvailableNetworks>
...
</Vdc>

Then I try to read the network:
GET: https://uk.vcloud.colt.net/api/network/95ea85e2-c6ef-491c-8e83-0b35b4710c3e


<?xml version="1.0" encoding="UTF-8"?>
<Error xmlns="http://www.vmware.com/vcloud/v1.5" minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this action. Contact your c
loud administrator." majorErrorCode="500" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vclo
ud/v1.5 http://uk.vcloud.colt.net/api/v1.5/schema/master.xsd"></Error>

This is a vCloud 1.5 version and I'm using the version 1.5 API calls.  We don't manage the vCloud installation but are a tenant.
Any and all help appreciated.
Thanks
Mark

Reply
0 Kudos
2 Replies
rkamal
VMware Employee
VMware Employee

Hi,

What kind of a tenat user are you?

Only System/Org Admins can edit/view the org networks.

Regards,

Rajesh Kamal.

Reply
0 Kudos
markajohnson
Contributor
Contributor

Hi,

I'm an "Org Admin" - have the Role "Organization Administrator".  I am able to edit the network from the vCloud UI.

Thanks,

Mark

Reply
0 Kudos