System.ArgumentNullException: Empty request body (Parameter 'Body') Status: 409, ErrorCode: BlobArchived

Kunam, Umakanth 60 Reputation points
2024-12-12T23:01:33.3266667+00:00

Retry #1 after 5 due to RequestFailedException: This operation is not permitted on an archived blob.
Status: 409 (This operation is not permitted on an archived blob.) ErrorCode: BlobArchived

The blob you are trying to access has been archived does this means is it normal behavior when maximum requests utilized?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,003 questions
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,371 Reputation points Microsoft Employee
    2024-12-13T11:56:07.1166667+00:00

    @Kunam, Umakanth Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
    Adding more information to the above response!

    When exactly are you getting this error message?

    "Status: 409 (This operation is not permitted on an archived blob.) ErrorCode: BlobArchived" error message indicates that you are trying to perform an action on a blob that is currently stored in the "Archive" access tier within Azure Blob Storage, which means you cannot directly modify or access the data in the blob without first rehydrating it back to a "Hot" or "Cool" access tier where it can be actively accessed Azure Blob Storage error codes

    When a blob is archived, it is moved to a lower-cost storage tier, which restricts certain operations. Specifically, you cannot read, write, or delete an archived blob directly. To perform these operations, you need to rehydrate the blob by moving it back to a hot or cool tier.

    This behavior is not related to the number of requests utilized but rather to the state of the blob being archived. If you need to access the blob, you will have to rehydrate it first. Here are the steps you can follow:

    1. Rehydrate the Blob: Move the blob from the archive tier to either the hot or cool tier. This can be done using Azure Storage Explorer, Azure CLI, or Azure PowerShell.
    2. Perform the Desired Operation: Once the blob is rehydrated, you can perform the read, write, or delete operations as needed.

    Additional information :
    An archived blob can be copied to a new blob within the same storage account. This will still leave the initially archived blob as is. When copying an archived blob as source the request must contain the header x-ms-access-tier indicating the tier of the destination blob. The data will be eventually copied to the destination blob.

    You can follow the official doc and using REST API to copy archived files .
    Access tiers for blob data.

    Additional information: Rehydrating a blob from the archive tier can take several hours to complete. Microsoft recommends archiving larger blobs for optimal performance when rehydrating. Rehydrating a large number of small blobs might require extra time due to the processing overhead on each blob. A maximum of 10 GiB per storage account may be rehydrated per hour with priority retrieval.

    To learn how to rehydrate an archived blob to an online tier, see Rehydrate an archived blob to an online tier.

    Please let us know if you have any further queries. I would like to work closer on this issue.


       Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. Amrinder Singh 5,555 Reputation points Microsoft Employee
    2024-12-13T03:10:03.8266667+00:00

    Hi Kunam, Umakanth - thanks for reaching out over Q&A Forum.

    Based on the exception you have shared, it appears that you are trying to access and archived blob which won't be accessible directly until re-hydrated. it doesn't have anything to do with the number of requests being made on the account.

    I would recommend reviewing the archive tier of the blob. If its archived, you need to re-hydrate it out before reading the same.

    Reference Links:
    https://zcusa.951200.xyz/en-us/azure/storage/blobs/access-tiers-overview

    https://zcusa.951200.xyz/en-us/azure/storage/blobs/archive-rehydrate-overview

    Hope this information helps! please let us know if you have any further queries. I’m happy to assist you further.


    Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.