Requests throttled - Azure Storage

lalith 1 Reputation point
2022-04-22T12:43:16.527+00:00

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
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
1,826 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 34,856 Reputation points Microsoft Employee
    2022-04-25T12:48:14.263+00:00

    @lalith 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://learn.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.

    0 comments No comments