[BUG] BlockBlobClient.StageblockAsync API fails while uploading the 11th block to the blob with the specified blob or block content is invalid #47370
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Library name and version
Azure.Storage.Blobs 12.23.0
Describe the bug
We're encountering an issue with the Post Import Large File API, which is used to upload Power BI files larger than 1 GB into the service (we wanted to support till 10 GB). The process involves uploading the data to a temporary location in Azure Blob Storage. We are currently using BlockBlobClient for uploading the data to temporary upload location with
Stage Block Async
API andCommit Block List Async
API. We were able to upload the data to the blob using Stage Block Async API for 10 times, but in the 11th iteration we are facing the following issue:Expected behavior
API response should be 200
Actual behavior
We were able to hit the
StageBlockAsync
API for 10 times, we are facing issue at the 11th iteration with the following error: The specified blob or block content is invalidReproduction Steps
Create a Power BI file of size greater than 1GB
Create a temporary upload location with the Create Temporary Upload Location API (we will be getting SAS URL from this API) and upload the data to temporary upload location using BlockBlob Client and call the Post Import API for uploading to service
Please refer to the following below code:
Environment
No response
The text was updated successfully, but these errors were encountered: