AWS DynamoDB resource not found exception

Игорь Голяк picture Игорь Голяк · Oct 22, 2016 · Viewed 42.6k times · Source

I have a problem with connection to DynamoDB. I get this exception:

com.amazonaws.services.dynamodb.model.ResourceNotFoundException: Requested resource not found (Service: AmazonDynamoDB; Status Code: 400; Error Code: ResourceNotFoundException; Request ID: ..

But I have a table and region is correct.

Answer

Chen Harel picture Chen Harel · Oct 23, 2016

From the docs it's either you don't have a Table with that name or it is in CREATING status.

I would double check to verify that the table does in fact exist, in the correct region, and you're using an access key that can reach it