2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
-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
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
Can you add some logs to your catch block to understand your exception, its likely DynamoDB is throwing an exception.