2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
-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
Can you add some logs to your catch block to understand your exception, its likely DynamoDB is throwing an exception.