39
Views
1
Comments
Solved
Query on API response with large volume of data
Question
Application Type
Service

Hi,

I have a query on the handling of large volume of data coming through in an API response.

I have an API that brings in 100k+ records that I need to persist in the DB. During the API execution, the call failed with the exception:


Something went wrong! Microsoft.Azure.Documents.RequestRateTooLargeException: Message: {"Errors":["Request rate is large. More Request Units may be needed, so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429"]}

Can anyone suggest if a similar issue was encountered?

Thanks!

2021-10-09 07-57-44
Stefan Weber
 
MVP
Solution

Hi,

the number of query results is a factor for your Resource Units allocation. See this article on how to increase your RU threshold. https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-provision-database-throughput?tabs=dotnetv2

Best

Stefan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.