DynamoDB - Key element does not match the schema

前端 未结 4 2000
予麋鹿
予麋鹿 2021-02-05 01:35

I\'m trying to update an Item in my Dynamodb Table +Users+. I have tried many different ways but I always received the same error message:

The provided k

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-05 01:52

    I was doing BatchGetItem, then streamed it to BatchWriteItem (Delete). DeleteItem didn't like it got all attributes from the object instead of only partition and sort key.

    Gathering all answers:

    • mismatch in an attribute name
    • mismatch in attribute type
    • half key provided
    • unnecessary additional keys

提交回复
热议问题