You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
Which service(blob, file, queue) does this issue concern?
Table Storage
Which version of the SDK was used? Please provide the output of pip freeze.
azure-storage==0.36.0
What problem was encountered?
If you call TableService.insert_entity with an entity that has RowKey or PartitionKey that is not str (in my case I used an int), a AzureHttpError: Bad Request ... InvalidInput ... One of the request inputs is not valid is raised. Turns out this is because RowKey or PartitionKey has to be str.
This took me a while to figure out, because I'd previously uploaded these entities using TableService.insert_or_merge_entity, which works fine! Turns out this method does handle casting the keys to str.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Which service(blob, file, queue) does this issue concern?
Table Storage
Which version of the SDK was used? Please provide the output of
pip freeze
.azure-storage==0.36.0
What problem was encountered?
If you call
TableService.insert_entity
with an entity that has RowKey or PartitionKey that is notstr
(in my case I used anint
), aAzureHttpError: Bad Request ... InvalidInput ... One of the request inputs is not valid
is raised. Turns out this is because RowKey or PartitionKey has to bestr
.This took me a while to figure out, because I'd previously uploaded these entities using
TableService.insert_or_merge_entity
, which works fine! Turns out this method does handle casting the keys tostr
.The text was updated successfully, but these errors were encountered: