Skip to content

Provided Key Element does not match the Schema #2291

Description

@stevedefazio
  • Python DynamoDB Lock version: 0.9.1
  • Python version: 3.7.3
  • Operating System: Windows

Description

I'm trying to create a new lock on a DDB table. I pass in my ddb resource and tablename, and then I select an arbitrary name for my lock. It raises a DynamoDBLockError. So far as I can tell I'm following the pretty simply instructions in the documentation, so I suspect there's something fundamental to how this works that I do not understand.

lock_client = DynamoDBLockClient(dynamodb, "TableName")
with lock_client.acquire_lock("name_of_my_lock"):
...

An error occurred (ValidationException) when calling the GetItem operation: The provided key element does not match the schema

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions