question

MaitravAnirban-4237 avatar image
0 Votes"
MaitravAnirban-4237 asked JorgeTakata-4044 answered

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

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
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.

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

@MaitravAnirban-4237 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.



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.

JorgeTakata-4044 avatar image
0 Votes"
JorgeTakata-4044 answered

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>"



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.