AWS - DynamoDB
You wrote this code to get an item but it throws an error:
What is the likely cause of the error?
const params = {
TableName: 'Products',
Key: { productId: 101 }
};
const data = await dynamoDBClient.getItem(params);
console.log(data.Item);What is the likely cause of the error?
