I had created a table in dynamo db called Music with item Taylor Swift. I wanted to get this item through command line but it repeatedly gives me this error.
~ % aws dynamodb get-item --table-name Music --key '{ "Artist" : { "S" : "Taylor Swift"}}'
An error occurred (ValidationException) when calling the GetItem operation: The provided key element does not match the schema
I triple checked if the attribute type was right. What else could be wrong?