title: Azure Worker role Inner Exception of 'One of the request inputs is out of range.'
body: <p>I'm calling the CloudTableClient.CreateTableIfNotExist Method in my worker role and I'm getting an exception with an Inner Exception of 'One of the request inputs is out of range.'</p>
  
  <p>I did a little research and found that this is caused by naming the table an illegal table name, however, I've tried name my table several different names and all have not succeeded. Some of the table names I've tried are:</p>
  
  <ul>
  <li>exceptions</li>
  <li>exceptioninfo</li>
  <li>listoferrors</li>
  </ul>
  
  <p>All of them have failed with the same error.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here is the code that I'm using to create the table:</p>
  
  <pre><code>    public static void InitializeTableStorage()
      {
          var storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting(Constants.StorageConnectionString));
          // Retrieve storage account from connection-string
          // Create the table client
  
          CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
  
          // Create the table if it doesn't exist
          string tableName = ExceptionsTableName;
          tableClient.CreateTableIfNotExist(tableName);
      }
  </code></pre>
  
  <p>And here is the HTTP request that errors out:</p>
  
  <p>Request:</p>
  
  <pre><code>GET https://&lt;account&gt;.table.core.windows.net/Tables('exceptioninfo') HTTP/1.1
  User-Agent: Microsoft ADO.NET Data Services
  DataServiceVersion: 1.0;NetFx
  MaxDataServiceVersion: 2.0;NetFx
  x-ms-version: 2011-08-18
  x-ms-date: Mon, 03 Sep 2012 21:54:20 GMT
  Authorization: SharedKeyLite &lt;AccountName&gt;:aBcDeFgAbCdEfGhIjKlMnOpQrStUba+jKlMn/DqrsTu=
  Accept: application/atom+xml,application/xml
  Accept-Charset: UTF-8
  Host: &lt;account&gt;.table.core.windows.net
  Connection: Keep-Alive
  </code></pre>
  
  <p><code>&lt;account&gt;</code> is all lowercase and <code>&lt;AcountName&gt;</code> is camel case (if that means anything)
  Here is the response:</p>
  
  <pre><code>HTTP/1.1 400 One of the request inputs is out of range.
  Content-Length: 343
  Content-Type: application/xml
  Server: Microsoft-HTTPAPI/2.0
  x-ms-request-id: abcdefgh-ijkl-44ed-9ff2-3d07df99c266
  Date: Mon, 03 Sep 2012 21:54:03 GMT
  
  
  &lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt;
  &lt;error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&gt;
    &lt;code&gt;OutOfRangeInput&lt;/code&gt;
    &lt;message xml:lang="en-US"&gt;One of the request inputs is out of range.
  RequestId:abcdefgh-ijkl-44ed-9ff2-3d07df99c266
  Time:2012-09-03T21:54:03.6716225Z&lt;/message&gt;
  &lt;/error&gt;
  </code></pre>
  
  <p>I've used the same CloudStorageAccount to create Queues and Blobs, and have succeeded.</p>
  
  <p>are there any other reasons to get an OutOfRange exception when trying to create a table in azure?</p>