Exception: "The value for one of the HTTP headers is not in the correct format."

Hi guys, I have a problem .... I already created a queue, but I need to create another queue, so I am writing this code:

CloudStorageAccount storageAccount =
CloudStorageAccount.parse (storageConnectionString);
CoudQueueClient queueClient1= storageAccount.createCloudQueueClient();
Cloud Queue queue1 =queueClient1.getQueueReference("my-queue");
queue1.createIfNotExist ();

The first queue I called "myqueue", while this new one I called "my-queue", but when you ran this code:

queue1.createIfNotExist();

The exception is The value for one of the HTTP headers is not in the correct format ....Does anyone know why?

+3
source share

All Articles