locked
Azure Storage Emulator returning 400 (Bad Request) RRS feed

  • Question

  • Using SDK 2.2, and a connection string of "UseDevelopmentStorage=true; DevelopmentStorageProxyUri=http://ipv4.fiddler", fiddler shows that Storage emulator is returning Bad Request "The value of one of the HTTP headers is not in the correct format".  The headers are "User-Agent: WA-Storage/3.0.1..." and  "Authorization: SharedKey devstoreaccount1:<base64 string that changes with each request>" The host is 127.0.0.1:10000, and request is "HEAD /devstoreaccount1/images?restype=container&timeout=90" (I'm making a request to CreateIfNotExists() for a container named images.

    Can anybody tell me what I'm doing wrong?

    Sunday, December 22, 2013 2:16 PM

Answers

All replies

  • Hi,

    I would suggest you have a look at this thread http://social.msdn.microsoft.com/Forums/en-US/c961d0df-e6ab-4563-958c-b3646ee2cd9d/the-value-for-one-of-the-http-headers-is-not-in-the-correct-format? As Gaurav Mantri said in this thread, Storage Emulator 2.2 is currently incompatible with storage client library 3.0.0.0. Sorry for any inconvenience, this issue will fix in an upcoming release.

    Best Regards


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, December 23, 2013 7:00 AM
  • Well, that does explain it!

    It strikes me that this situation is pretty bad - when the tools designed to be used for development/testing BEFORE you go "live" don't work, and the only way to test is to actually go "live".

    But it is what it is, and at least that stops me from beating my head against the wall.

    Thanks very much for the response!

    Monday, December 23, 2013 10:30 AM