bir öğe alırken hata "sağlanan anahtar unsur şema eşleşmiyor" Bu bir öğe almaya çalıştım DynamoDB
ayar tablosu bölüm anahtarıdır tablodan, bu Bu benim kodudur
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the GetItem operation: The provided key element does not match the schema
bu hatayı yazdırır
dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table('testDynamodb')
response = table.get_item(Key={'userId': "user2873"})
item = response['Item']
print(item)
Herhangi bir fikrin var mı? Teşekkürler.