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)
- dynamodb cannot read property 'push' of undefined
- dynamodb no range key value present
- ValidationException: Invalid KeyConditionExpression: Attribute name is a reserved keyword;
- dynamodb cannot convert undefined to object
- dynamodb 1 validation error detected value
- boto3 dynamodb unable to locate credentials
- dynamodb put item not working
- DynamoDB No Provisioned Throughput specified for the table
- dynamodb could not instantiate class
- DynamoDB Error All Attributes Must Be Indexed
- AWS DynamoDB CredentialsError: Missing credentials in config
- failed to begin subsegment named 'amazondynamodbv2': segment cannot be found.
- dynamodb cannot read property '0' of undefined
- dynamodb list_append if_not_exists not working
- dynamodb put function not working
Tired of switching accounts and regions? Use Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase