Error: com amazonaws services dynamodbv2 model resourcenotfoundexception
Answered by Rafal Wilinski
What's Causing This Error
This error occurs in Java when you try to access a DynamoDB Table, GSI, or LSI that does not exist or is still in the "CREATING" status.
Solution - Here's How To Resolve It
First, verify that the region you've specified when initializing the SDK is the same region in which the DynamoDB tables are provisioned.
Then, verify that the table, LSI, or GSI name you are trying to access is correct.
Finally, visit the AWS Console to determine if the table is in the "Active" status. If your table has been created, you should see the status below.
Figure - Observing the table status in the DynamoDB console
Other Common DynamoDB Errors (with Solutions)
- could not load profile default dynamodb
- dynamodb global secondary index does not project
- DynamoDB error cannot find module build/Release/DTraceProviderBindings
- DynamoDB Key element does not match the schema
- ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string
- cannot find module 'dynamodb-doc'
- Float types are not supported. Use decimal types instead.
- DynamoDB Scan Not Working
- DynamoDB Update Not Working
- Boto3 DynamoDB KeyError
- cognitoidentitycredentials is not authorized to perform dynamodb describetable
- could not connect to the endpoint URL dynamodb
- dynamodb the parameter cannot be converted to a numeric value
- dynamodb cannot pickle '\_thread.lock' object
- missing required key 'key' in params dynamodb
Tired of AWS Console? Try Dynobase.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2024 Dynobase