question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error using newly created DynamoDB tables

See original GitHub issue

I’m getting an error working with a newly created dynamoDB.

2017-11-02 18:18:03.604 (+00:00)	2a8333a9-bffa-11e7-a1e5-51dac69da33d	TypeError: Cannot read property 'userData' of null
    at /var/task/node_modules/jovo-framework/lib/jovo.js:226:37
    at DynamoDb.checkResourceNotFound (/var/task/node_modules/jovo-framework/lib/integrations/db/dynamoDb.js:328:13)
    at Response.<anonymous> (/var/task/node_modules/jovo-framework/lib/integrations/db/dynamoDb.js:209:22)
    at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:364:18)
    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

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
funkymonkeymonkcommented, Nov 7, 2017

For sure. I’ll try to do it tonight when I get home from work.

0reactions
jankoenigcommented, Feb 16, 2018

Closing this for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error handling with DynamoDB - AWS Documentation
Discover the best practices for handling client and server errors and exceptions returned by Amazon DynamoDB operations.
Read more >
Error creating new DynamoDB Table #22558 - GitHub
This was first discovered via a build in AWS Codebuild, using Terragrunt v0.35.16, and Terraform v1.1.3. Also reproduced using Terraform v1.1.1 ...
Read more >
DynamoDB table is getting created but can not insert new items
I have created the connection, and when I run it, the table is created properly and I can see it in the AWS...
Read more >
6 Common DynamoDB Issues - Dashbird
The AWS SDK can't find your table. The most common reasons for this are a typo in the table name, using the wrong...
Read more >
DynamoDB and CloudFormation Error: E3039 The set of ...
If you are getting this error with your AWS CloudFormation doc when creating a new Amazon DynamoDB table, it probably means you have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found