Forum Discussion
Error while trying to write in Azure Tables ('' is not a valid value for a partition key or row key)
- Aug 05, 2022
I just saw the note in the documentation : "Version 3.x of the extension bundle currently does not include the Table Storage bindings. If your app requires Table Storage, you will need to continue using the 2.x version for now.". So, I updated the version of the bundle extension to version 2 in the host.json file and it worked !!
{ "version": "2.0", "extensionBundle": { "id": "Microsoft.Azure.Functions.ExtensionBundle", "version": "[2.*, 3.0.0)" } }
Note that the text of the error mentionned in the terminal : ' '' is not a valid value for a partition key or row key' had nothing to do with the real problem.
I just saw the note in the documentation : "Version 3.x of the extension bundle currently does not include the Table Storage bindings. If your app requires Table Storage, you will need to continue using the 2.x version for now.". So, I updated the version of the bundle extension to version 2 in the host.json file and it worked !!
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
}
}
Note that the text of the error mentionned in the terminal : ' '' is not a valid value for a partition key or row key' had nothing to do with the real problem.