3

大家好,我有一个问题....我已经创建了一个队列,但是我需要创建另一个队列,所以我编写了以下代码:

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

第一个队列我称之为“myqueue”,而这个新队列我称之为“my-queue”,但是当你运行这段代码时:

queue1.createIfNotExist();

抛出的异常是The value for one of the HTTP headers is not in the correct format ....有谁知道告诉我为什么?

4

0 回答 0