Closed funkymonkeymonk closed 6 years ago
Hi @funkymonkeymonk, thanks! So this didn't happen before with a previous table, or is it the first time you're using the DynamoDB integration?
This happens on a brand new table. I had a previous working table, which this started to fail on and as a diagnostic step I tried deleting the table and letting the framework recreate it. It performs the recreate on the first invocation though fails due to a race condition between table creation and table access, then fails the same way on the second invocation.
Thanks for the further explanation. We will investigate and fix as soon as possible. cc @aswetlow
Hi @funkymonkeymonk, still trying to reproduce this. Can you tell us which version of the framework you're using?
Hey @funkymonkeymonk, could you please log the error object in checkResourceNotFound(error, callback) in /node_modules/jovo-framework/lib/integrations/db/dynamoDb.js (Line 326)
I think it's an aws-error that is not handled by the framework.
For sure. I'll try to do it tonight when I get home from work.
Hi @funkymonkeymonk, any news on this issue?
Hey. I haven't been able to get time to check it out but I will be over the weekend.
On Fri, Nov 10, 2017, 2:29 AM Jan König notifications@github.com wrote:
Hi @funkymonkeymonk https://github.com/funkymonkeymonk, any news on this issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jovotech/jovo-framework-nodejs/issues/36#issuecomment-343395653, or mute the thread https://github.com/notifications/unsubscribe-auth/AFHumeMJtC5iseK5YmG12SRA1BpKrtz8ks5s0_tzgaJpZM4QQJDv .
Sounds good, thanks! Have a great weekend
@aswetlow @jankoenig I believe this is the object you're requesting.
{ ValidationException: The provided key element does not match the schema
at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:48:27)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.
Hi @funkymonkeymonk, thanks, can you please delete the table again and let the voice app create a new one (not manually, will be done by running the app) and send the logs again?
Closing this for now
I'm getting an error working with a newly created dynamoDB.
I've been trying to dig into this a bit to figure out what is happening and I'm not sure. When I run the same code locally using a webhook and local file store it's running fine. Please let me know what type of diagnostics I can do to troubleshoot the issue.
Edited to fix styling