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

前端 未结 6 2257
星月不相逢
星月不相逢 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:19

    I faced the same issue while creating the queue in Azure with one UpperCase Letter from my C# code. The error was with the Queue Name. All the characters should be lowercase. After changing all the characters to lowercase it worked! :)

    //Retrieve a reference to a queue
    CloudQueue queue = queueClient.GetQueueReference("myqueue");
    //Create a queue if it alredy doen't exists
    queue.CreateIfNotExists();
    

提交回复
热议问题