I have double checked the code and even copied pasted all the relevant files to my local.
All the other local functions like create/get/update work just fine, so I don’t know what’s going on.
any help please ! thanks
try {
const result = await dynamoDbLib.call("query", params);
console.log(result);
// Return the matching list of items in response body
return success(result.Items);
} catch (e) {
console.log(e);
return failure({ status: false });
}
i had the the error ‘Query condition missed key schema element: noteId’, this was because i accdientally created the table with the wrong partition key