Azcopy failing with Error 409 : 409 The requested operation is not allowed in the current state of the entity.. When Uploading blob

Maitra-v, Anirban 141 Reputation points
2022-03-30T22:32:56.06+00:00

Hi,

Any idea about this error message while using Azcopy to upload files from local to blob

Error 409 : 409 The requested operation is not allowed in the current state of the entity.. When Uploading blob

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,449 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jorge Takata 21 Reputation points
    2022-04-29T15:40:51.273+00:00

    I've got the same error with azcopy version 10.14.1.
    SAS token generated by Azure Portal for a container folder had a "/" missing at the end of the path.

    Generated by Azure portal: "https://<storage-account-name>.<blob or dfs>.core.windows.net/<container-name>/<folder-name>?<other params>"

    Worked after correction: "https://<storage-account-name>.<blob or dfs>.core.windows.net/<container-name>/<folder-name>/?<other params>"

    4 people found this answer helpful.
    0 comments No comments

  2. Sumarigo-MSFT 43,806 Reputation points Microsoft Employee
    2022-03-31T02:45:28.777+00:00

    @Maitra-v, Anirban Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Based on the error code, Its a generic error and issue could be due to permissions to azure storage account( Blob )

    • Are getting this error for particular blob container? and can you please share the complete azcopy cmdlet what you using (while sharing the data, please delete the PI information)
    • Are you using SAS token or AAD for data transfer (If you are using SAS token please regenerate the token, sometime SAS token would be expired) ?
      -Can you please share the screen shot of the error message?

    Refer to this article how to upload files and directories to Blob storage by using the AzCopy v10 command-line utility.
    Example azcopy copy "<local-folder-path>" "https://<storage-account-name>.<blob or dfs>.core.windows.net/<container-name>" --recursive=true

    For testing purpose, can you please use Azure Storage explorer tool and let me know the status.

    Assign an Azure role for access to blob data

    Please refer to the suggestion mentioned in this SO thread, which gives lots of ideas and solution for your scenario.

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

    ----------

    Please do not forget to 188518-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