Cannot upload to azure Blob Storage: The remote server returned an error: (400) Bad Request

前端 未结 6 2233
星月不相逢
星月不相逢 2021-02-19 16:48

I\'m trying to create a utility to download file from the internet and upload it again to Azure blob storage. Blob containers already created well; But for some reason i\'m get

6条回答
  •  长情又很酷
    2021-02-19 17:08

    I had a very different case of bad request message. Posting here for anyone else who may hit the same. In my case, I was just moving around resource across other resource groups . In that shuffling, a bug in azure allowed me to point my storage to location ("South East Asia") which was not available in my region. So all requests against the storage account returned the bad request message. It took me a while to figure this out because I then created another storage account to test, which when creating, azure did not allow me to pick "South East Asia" as a location of choice, so I picked another location ("East Asia") and then everything worked fine.

提交回复
热议问题