2 Answers
- Newest
- Most votes
- Most comments
-1
I would like to see the details of the error.
Can you confirm this by adding the following statement under line 34?
console.error(error);
Also, the item to put is not in the form of a key value, is this a problem?
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#put-property
Please ask questions in comments
-1
In another question you have troubles with nano id import, was that solved?
Please ask questions in comments
Relevant content
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
Can you add some logs to your catch block to understand your exception, its likely DynamoDB is throwing an exception.