question

lalithsrigiriraju avatar image
0 Votes"
lalithsrigiriraju asked SumanthMarigowda-MSFT commented

Requests throttled - Azure Storage

Hello, I have the following Notification as a warning in Azure Storage:

Requests throttled Requests to the server are being throttled.

Following are the observations on the storage:

  1. My api that uploads the files to storage fails for files greater than 50mb.

  2. If I upload the file that are greater than 50mb manually, it gets uploaded successfully.

  3. If I upload manually / through the code a file of 1 mb size has been successfully uploaded.

So based on above points, Is there any limit on the file size of files that get uploaded through code from a particular endpoint when the requests are throttled?



azure-storage-accounts
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered SumanthMarigowda-MSFT edited

@lalithsrigiriraju Thanks for raising this question! Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

May I know where are you uploading the file in Azure Storage(Blob, Files)?
Can you please share the screen shot the error message? Can you please share your code?

This tutorial is part two of a series. This tutorial shows you deploy an application that uploads large amount of random data to an Azure storage account.

196183-image.png

var blockSize = 4 1024 1024; The basic idea is to keep the number of blocks in a block blob to be less than 50000.
// Set the maximum length of a transfer to 50MB.
MaximumTransferSize = 50 1024 1024

Upload large file to azure blob

Storage limits: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#storage-limits

Error when you write more than 4 MB of data to Azure Storage: Request body is too large
Uploading Large Files in Windows Azure Blob Storage Using Shared Access Signature, HTML, and JavaScript

If you want to upload larger files to file share or blob storage, there is an Azure Storage Data Movement Library

Please let us know if you have any further queries. I’m happy to assist you further.


Please do not forget to 196129-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.