Been testing some Lambda functions and finally managed to get the data to push to DyanmoDB, or at least in the logs it shows the billed duration and this only occurs after I've pushed data to the table, doesn't happen before I test the function.
Basically, I'm just testing a small function to push a UserID and Name to a DynamoDB table. I populate the params as seen below.
var UserID = toAdd['UserID']; var Name = toAdd['Name'];
var params = { Item: { 'UserID':UserID, 'Name':Name }, TableName: 'bookings2D' };
When I console log my params I'm seeing this:
dynamo.putItem(params, dynamoResultCallback);
And as you can see below, the request is at the very least being triggered.
However, when I navigate to my DB Table, and perform a table scan I receive this error:
This only occurs AFTER I run the Lambda function, if I delete and recreate the table this no longer appears. Seems like it's just something small format wise I may not be grasping.
Any help is much appreciated, any questions feel free to ask :)
Thanks




