Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.62k stars 5.05k forks source link

nextLink is not working for list storage accounts api #14186

Open shraddhaagrawal opened 3 years ago

shraddhaagrawal commented 3 years ago

Hi,

I have 2000+ storage accounts in my subscription and I am getting nextLink in response while using following api-

https://management.azure.com/subscriptions/xxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01

This gives me partial list of storage accounts and nextLink to fetch next storage accounts with skip token as follows-.

https://management.azure.com/subscriptions/xxxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01&%24skiptoken=xxxxxxxxx

Using above nextLink I am getting following error message-

{
    "error": {
        "code": "ProviderError",
        "message": "Resource provider 'Microsoft.Storage' failed to return collection response for type 'storageAccounts'."
    }
}
ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.

Issue Details
Hi, I have 2000+ storage accounts in my subscription and I am getting nextLink in response while using following api- > https://management.azure.com/subscriptions/xxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01 This gives me partial list of storage accounts and nextLink to fetch next storage accounts with skip token as follows-. > https://management.azure.com/subscriptions/xxxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01&%24skiptoken=xxxxxxxxx Using above nextLink I am getting following error message- ``` { "error": { "code": "ProviderError", "message": "Resource provider 'Microsoft.Storage' failed to return collection response for type 'storageAccounts'." } } ```
Author: shraddhaagrawal
Assignees: ruowan
Labels: `Service Attention`, `Storage`, `needs-triage`, `question`
Milestone: -
blueww commented 3 years ago

@tonykjose , @zfchen95 Would you please help to look at this issue?

@shraddhaagrawal Would you please share the server request ID in the responds? We need search server log with it to investigate this issue.

ariel-mar commented 1 year ago

Hi , Is there any update regarding the cause of this issue? I faced the same issue 10 days ago (currently I am not facing it)

chrisdoman commented 1 year ago

I'm getting the same error - is this due to rate limiting?

Resource provider 'Microsoft.Storage' failed to return collection response for type 'storageAccounts'

blueww commented 1 year ago

@chrisdoman , @ariel-mar This is a server issue, would you like to report the server issue in Azure Portal as following picture, then the related server team will come to help you. It's better to attach a recent network trace of the failed request (hide credential), it will help server team to investigate this issue. image

chrisdoman commented 1 year ago

Thankyou, will do.

green-digger commented 5 months ago

Hey @chrisdoman and @shraddhaagrawal We are experiencing the same issue. Did you resolve this issue? If so, how?

TheRSP commented 5 months ago

In case anyone lands on this in future, when @green-digger and I were suffeing this issue, we contacted Azure support and the solution was to reregistre the Microsoft.Storage resource provider in the subscription:

az provider register --namespace Microsoft.Storage

This took about a second to run after which all worked