Closed superjose closed 6 years ago
Hi @superjose, thanks for this detailed description! Would appreciate a PR or some thoughts regarding the specific lines you're mentioning :) Thanks!
@jankoenig Oh! So sorry for taking this long! Absolutely! I'll take a look into it, and do the changes!
Closing this for now, added some more info regarding Lambda permissions here: https://www.jovo.tech/guides/add-dynamodb-database
I'm submitting a...
First of all. Thank you, thank you thank you so much for all the great and hard work you've put into this! It's fantastic. Even if you target Alexa only devices it's an enjoyment to prototype so fast!! The source code is also easy to follow 👍
Kudos for the team!
I just wanted to give a heads up to make a clarification in the documentation not to use an existing DynamoDB table that wasn't created by Jovo. You will run into "Cannot read property 'userData' of null". Jovo sets up its own userId as the main Primary Key (Partition), and if you set something that doesn't match it, it will throw an error.
I went for 3 hours, without knowing the issue, I wasn't able to connect Jovo to the DynamoDB AWS database. I thought permissions were at fault, and I checked them over and over again.
I can help out by creating a PR by making a notice in the documentation... or maybe helping to modify :
lib/integrations/db/dynamoDb.js
Line 163 - Line 193.Expected Behavior
Let the user know that the table has been setup incorrectly or that it's incompatible on how Jovo handles it.
Current Behavior
It gives the error
Error log
Your Environment