-
Goal:
I want to use DynamoDB getItem query but following error is occurred.
"The provided key element does not match the schema" -
Steps:
-
Open Query Library.
-
Create new DynamoDB query.
-
Select a table.
-
Select getItem.
-
Input Key.
-
Run
-
Details:
-
scan and query is working but getItem is not working.
-
I think getItem query is correct.
-
Screenshots:
1 Like
Hi @onishi - Thank you for sharing the repro steps and screenshot.
While I look into this further, can you please try specifying Key
without the data type? For example: { "username" : "73d6c80e-..." }
1 Like
It worked with that suggestion!
Thank you!!!
1 Like
@onishi - Fantastic, great to hear it's working for you
I believe this is the case because we're using the AWS SDK's DocumentClient
under the hood which does not require the attribute type to be included