Error: com amazonaws services dynamodbv2 model resourcenotfoundexception

Rafal Wilinski

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.

com amazonaws services dynamodbv2 model resourcenotfoundexception

Figure - Observing the table status in the DynamoDB console

Spend less time in the AWS console, use Dynobase.

First 7 days are on us. No strings attached.

Product Features

Member Portal
© 2024 Dynobase
Tired of AWS Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.