Azure table storage names - invalid characters

10,123

Solution 1

Table names cannot start with a number. So your first example, starting with 8, isn't valid.

Table names are also limited to 63 characters. You haven't shown how you're generating names, but that could also be a limitation you're running into.

Full rule details are here.

Solution 2

I was also getting this error when I was trying to upload a file to my azure blob storage.

enter image description here

My issue was that the container name I used was stating with a capital letters (Daily). Once I changed my parameter schedule value to start with small letter (daily), I started to receive the actual error, which is The specified container does not exist. as I had not created the container in my blob. After I create the container with the name daily, everything started working as expected.

enter image description here

Share:
10,123
Dr Adrian Colquhoun
Author by

Dr Adrian Colquhoun

Updated on June 30, 2022

Comments

  • Dr Adrian Colquhoun
    Dr Adrian Colquhoun almost 2 years

    I have the following table names in Azure table storage. Table names are generated automatically in my application and then created using table.CreateIfNotExists(tableName). Some work and some don't. When I dig into the error the extended error information tells me that the resource name contains invalid characters - however I am at a loss to work out what is invalid in the failing names - can anyone spot this?

    8836461cc98249bea59dc5f6790d40edstk365developmentusers
    

    – the specified resource name contains invalid characters

    8836461cc98249bea59dc5f6790d40edstk365developmenttasks
    

    – the specified resource name contains invalid characters

    af0589646af645b98f749d92a5b2ee25stk365developmentusers
    

    – works