Code Monkey home page Code Monkey logo

Comments (5)

rjamison avatar rjamison commented on August 19, 2024 2

@AWzone looks like you have the wrong case in the key for your DynamoDB table. "userid" should be "userId".

from skill-sample-nodejs-adventure-game.

rjamison avatar rjamison commented on August 19, 2024

Could you check the logs for your Lambda function to see if there are any errors?

One possibility is that the AWS Role you setup for the function doesn't have access to create the table in DynamoDB, in which case you should see an AWS error message in your logs.

Another is that a DynamoDB table name isn't defined, in which case you should see an error message like:

ERROR: Dynamo DB table name was not provided

from skill-sample-nodejs-adventure-game.

rjamison avatar rjamison commented on August 19, 2024

@oliverbhull are you still having the issue? Happy to help if you can provide more detail.

from skill-sample-nodejs-adventure-game.

hey-aw avatar hey-aw commented on August 19, 2024

I'm having the same issue, with this error in the CloudWatch log:
{
"message": "One or more parameter values were invalid: Missing the key userid in the item",
"code": "ValidationException",
"time": "2016-08-27T17:11:15.198Z",
"requestId": "4D9QR2LA8R55QH70H5IE1QQUE7VV4KQNSO5AEMVJF66Q9ASUAAJG",
"statusCode": 400,
"retryable": false,
"retryDelay": 0
}

from skill-sample-nodejs-adventure-game.

hey-aw avatar hey-aw commented on August 19, 2024

Of course! Thanks for spotting that. I checked it against the screenshot and didn't see the error. 😂

from skill-sample-nodejs-adventure-game.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.