azure-rest-api-specs icon indicating copy to clipboard operation
azure-rest-api-specs copied to clipboard

nextLink is not working for list storage accounts api

Open shraddhaagrawal opened this issue 4 years ago • 3 comments

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'."
    }
}

shraddhaagrawal avatar Apr 29 '21 08:04 shraddhaagrawal

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: -

ghost avatar May 03 '21 09:05 ghost

@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.

blueww avatar May 06 '21 04:05 blueww

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)

ariel-mar avatar Oct 27 '22 13:10 ariel-mar

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

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

chrisdoman avatar Apr 26 '23 08:04 chrisdoman

@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

blueww avatar Apr 26 '23 09:04 blueww

Thankyou, will do.

chrisdoman avatar Apr 26 '23 12:04 chrisdoman

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

green-digger avatar Apr 22 '24 10:04 green-digger

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

r30e avatar Apr 22 '24 12:04 r30e