Python Error When Deletion

Lucky Tham
Lucky Tham used Ask the Experts™
on
hi, how to understand and resolve this error when deleting 1000VMs from python script. Tks

message":"The maximum request receiving rate is exceeded","request_id
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
nociSoftware Engineer
Distinguished Expert 2018

Commented:
You are asking too many question to the API in too shrt of a time.

Use a sleep / short wait between them, or do them in batches of say 10 or 20 and sleep 1 second.....
Or setup the VM manager to not rate-limit queries from your program..

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial