Skip to content Skip to sidebar Skip to footer

Internal Server Error When Get The Tags Of The Virtual Guest

The API is returning Internal Server Error when I try to get the tags of the virtual guests of a customer account. Code example using the SoftLayer API library: api = SoftLayer.Cl

Solution 1:

it looks like an error because the reponse contains a big amount of data try to add limits in your request:

api = SoftLayer.Client(username=customer_id, api_key=customer_apikey)
api['Account'].getVirtualGuests(mask='fullyQualifiedDomainName,tagReferences.tag.name',limit=10, offset=0)

for more information about limits see:

http://softlayer-api-python-client.readthedocs.io/en/latest/api/client/

Regards

Post a Comment for "Internal Server Error When Get The Tags Of The Virtual Guest"