Change error "specified blob or block content is invalid" to something more informative or fix underlying issue
Azure Government] I have two MSI files. I can upload chefdk-1.2.22-1-x86.msi, 324 MB, just fine via the port. The other one, azure-powershell.22.214.171.124.msi, is 37MB.
When I upload via the portal I get a pop-up reading:
Upload error for azure-powershell.126.96.36.199.msi 7:08 PM
Upload block blob to blob store failed: Details. StatusCode=400, StatusText = The specified blob or block content is invalid
When I attempt to upload via witih azure-cli, I just get 'Connection Aborted' after about 30 seconds.
Azure-cli also fails after I rename the file, and if I try to upload to a different container on this account.
The portal upload failed 2 or 3 times for me.
After opening a support ticket (Hi Nicole!) we were unable to track down the source of the problem as I was just using defaults for my upload, and not specifying any block size. Support did suggest:
> There are known issues (although it did NOT repro for me) with a partial upload lingering and preventing subsequent uploads of the same file to the same location for up to 1 week.
So, please either fix the underlying issue, or change the error message to inform the usersthat they aren't doing anything wrong, just that Azure is flaky.
specified blob or block content is invalid - Am trying to solve this error since a week but no idea what exactly the problem is. Please help !!
also just had this issue, quite frustrating. workaround is to create a new container but that may not always be practical