Azure table storage error: One of the request inputs is not valid
Lately I often work with Azure table storage. However I had to deal with a lot of different "{number}:One of the request inputs is not valid" exceptions.
I did not find a collection that related the error number with a fault so I start creating my own collection here.
Solution: Validate that within one batch there are not multiple the same partition / row keys
Solution: Validate that within one batch there are not multiple the same partition / row keys
... Will be continued ...
I did not find a collection that related the error number with a fault so I start creating my own collection here.
0:One of the request inputs is not valid.
Occured when used characters in my partition key / row key. There are limitations on the characters that you can use. For instance / and \ are not allowed. For the details see https://msdn.microsoft.com/en-us/library/dd179338 section "Characters Disallowed in Key Fields"2:One of the request inputs is not valid.
Occurred when working with Azure batch operations. When you include in one batch two table entities with the same partitionkey and rowkey then you will get this error.Solution: Validate that within one batch there are not multiple the same partition / row keys
8:One of the request inputs is not valid.\
Occurred when working with Azure batch operations. When you include in one batch two table entities with the same partitionkey and rowkey then you will get this error.Solution: Validate that within one batch there are not multiple the same partition / row keys
36:One of the request inputs is out of range.
There was a character in the row key that was not allowed. Row keys have a limited character set. Currently I replace the following characters for row and partition keys- /
- \
- #
- ?
- (space)
- -
- (tab)
- (newline)
- '
- :
... Will be continued ...
Comments
Your blog post did solve my problem though by making me realise I had 2 items in my batch with same PK/RK, so thanks!
Thank you so much.