Forum Discussion

Sarra_e's avatar
Sarra_e
Copper Contributor
Aug 04, 2022
Solved

Error while trying to write in Azure Tables ('' is not a valid value for a partition key or row key)

Hi everyone,   I am a beginner in Azure. I'm trying to add a row in Azure Tables storage using Python. I followed the simple example of Microsoft documentation : https://docs.microsoft.com/en-us/a...
  • Sarra_e's avatar
    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.

Resources