alexa-samples/skill-sample-nodejs-highlowgame

DynamoDb Items

marccameron3d opened this issue · 1 comments

How should the dynamoDB be set up to allow for this to operate, in CloudWatch I get the error:

{ "errorMessage": "Error fetching user state: ValidationException: The provided key element does not match the schema", "errorType": "Error", "stackTrace": [ "ValidateRequest.attributesHelper.get (/var/task/node_modules/alexa-sdk/lib/alexa.js:163:33)", "Response.<anonymous> (/var/task/node_modules/alexa-sdk/lib/DynamoAttributesHelper.js:39:25)", "Request.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:364:18)", "Request.callListeners (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:105:20)", "Request.emit (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:77:10)", "Request.emit (/var/task/node_modules/aws-sdk/lib/request.js:683:14)", "Request.transition (/var/task/node_modules/aws-sdk/lib/request.js:22:10)", "AcceptorStateMachine.runTo (/var/task/node_modules/aws-sdk/lib/state_machine.js:14:12)", "/var/task/node_modules/aws-sdk/lib/state_machine.js:26:10", "Request.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:38:9)" ] }

This is irrelevant to the dynamoDB as its a no SQL so no schema seems required. Must be something else...