When trying to upload multiple blocks in the blob storage, following error can occur:
HTTP/1.1 400 The value for one of the HTTP headers is not in the correct format.
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
Date: Sat, 19 May 2012 11:13:53 GMT
<?xml version="1.0" encoding="utf-8"?><Error><Code>InvalidHeaderValue</Code><Message>The value for one of the HTTP headers is not in the correct format.
The reason why this error is related to the length of the specified block identifier. By default all block identifiers must be of the same length. However all blocks can be of different length.
For example if you have 11 blocks then identifiers should be in following format: 01, 02,..10, 11.
Following is not allowed: 1,2,3,..,10,11. In this case blocks with id 10 and 11 will fail on upload, assuming that blocks 1,2,.. etc. have already been uploaded.
May 19 2012, 01:21 PM