2
votes

I am using Azure JAVA SDK and am trying to list the Storage Accounts for the subscription. But I am intermittently getting this exception response.

com.microsoft.azure.CloudException: Status code 429, {"error":{"code":"ResourceCollectionRequestsThrottled","message":"Operation 'Microsoft.Storage/storageAccounts/read' failed as server encountered too many requests. Please try after '17' seconds. Tracking Id is 'f13c3318-8fb3-4ae1-85a5-975f4c17a512'."}}

Is there a limit on the number of requests one can make to the Azure resource API ?

1

1 Answers

2
votes

Is there a limit on the number of requests one can make to the Azure resource API ?

Yes. The limits are documented here: https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits (please see Subscription limits - Azure Resource Manager section). And you can see the 429 error code from here.

Based on the documentation, currently you're allowed to make 15000 Read requests/hour for Azure Resource Manager API.