Azure Storage Emulator 400 Bad Request

前端 未结 4 1580
梦毁少年i
梦毁少年i 2021-01-12 04:02

I\'m suddenly getting the Bad Request (400) error when using the Azure Storage Emulator when trying to CreateIfNotExists. The Response on the Inner Exception says \"The valu

4条回答
  •  灰色年华
    2021-01-12 04:39

    If I am not mistaken, you would need to downgrade client libraries to 4.x as well.

    You see, each version of storage client library corresponds to a storage service REST API version and same goes for storage emulator as well. If you use storage emulator version 4.0, then you can't use storage client library 5 with that. You would need to use version 4.x with that.

    If you want to use storage client library version 5, then you have 2 options:

    1. Make use of latest version of storage emulator or
    2. Do your development against cloud storage account.

提交回复
热议问题