Azure / Azure/azure-rest-api-specs

nextLink is not working for list storage accounts api

Open
#14,186 8 comments 0 reactions 2 assignees Claimed by @zfchen95 View on GitHub
question Service Attention Storage
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.