DynamoDB - Key element does not match the schema

前端 未结 4 1990
予麋鹿
予麋鹿 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:53

    You are only providing half of your primary key. Your primary key is a combination of the partition key and range key. You need to include the range key in your Key attribute in the update parameters.

提交回复
热议问题