Σάββατο, 2 Ιανουαρίου 2010 1:49 μμ
από το μέλος
Panagiotis Kefalidis
Windows Azure Queues – Getting 400 Bad Request when creating a queue
You’re trying to create a queue on Windows Azure and you’re getting a “400 Bad Request” as an inner exception. Well, there are two possible scenarios:
1) The name of the queue is not valid. It has to be a valid DNS Name to be accepted by the service.
2) The service is down or something went wrong and you just have to re-try, so implementing a re-try logic in your service when initializing is not a bad idea. I might say it’s mandatory.
The naming rules
A queue name must start with a letter or number, and may contain only letters, numbers, and the dash (-) character. The first and last letters in the queue name must be alphanumeric. The dash (-) character may not be the first or last letter. All letters in a queue name must be lowercase. A queue name must be from 3 through 63 characters long.
More on that here.
Thank you,
PK.