[storage] Please add queue name validation to GetQueueReference method #157

Closed
mteper opened this Issue Jan 15, 2013 · 3 comments

Projects

None yet

6 participants

@mteper
mteper commented Jan 15, 2013

The 400 (Bad Request) error is not very helpful in diagnosing queue name problems (or, indeed, in indicating that the problem is with the queue name). Please add a check and a helpful exception.

#157

@bradygaster bradygaster was assigned Dec 9, 2013
@devdash
devdash commented Dec 12, 2013

+1

I tried using channelQueue as name and a 400 error was returned. The name channelqueue works fine.

@ghost
ghost commented May 1, 2014

Thank you for your feedback and we apologize for the inconvenience. We have a feature request to improve error messages that the server returns.

@vinaysh-msft

You can now use our client side resource name validation helpers to help catch these issues early and get helpful exceptions back.
https://github.com/Azure/azure-storage-net/blob/master/Lib/Common/NameValidator.cs

GitHub: https://github.com/Azure/azure-storage-net/
Latest nuget: http://www.nuget.org/packages/WindowsAzure.Storage

@bradygaster bradygaster closed this Aug 9, 2014
@azuresdkci azuresdkci assigned andrerod and unassigned bradygaster Aug 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment