Error: resourcenotfoundexception dynamodb nodejs
What's Causing This Error
This error occurs in Node.js when you are trying to access a DynamoDB table, GSI, or LSI that does not exist is being created or is in a different region.
Solution - Here's How To Resolve It
You can try the following solutions and see what works for you.
1. Verify Region Validity
Verify that the region you provide while initializing the SDK is the same region on which you have provisioned the DynamoDB tables.
2. Verify Resource Name
Verify that you provide the correct table, LSI, or GSI name for the DynamoDB resource. You can confirm it by visiting the DynamoDB console.
3. Verify Creation Status
Ensure that the table has already been created. For example, if the table, LSI, or GSI is in the "CREATING" status, you will run into this error.

Figure - Observing the table status in the DynamoDB console
Other Common DynamoDB Errors (with Solutions)
- DynamoDB ConditionalCheckFailedException
- accessdeniedexception dynamodb
- Unable to start DynamoDB Local process
- an expression attribute name used in the document path is not defined
- dynamodb atomic counter not working
- why is the GSI dynamodb not showing item count
- Error ValidationException: One or more parameter values were invalid: Type mismatch for key X expected: S actual: M
- ImportError: No module named boto3 (DynamoDB)
- AWS DynamoDB CredentialsError: Missing credentials in config
- com amazonaws services dynamodbv2 model resourcenotfoundexception
- missing required key 'key' in params dynamodb
- failed to begin subsegment named 'amazondynamodbv2': segment cannot be found.
- ValidationException: Invalid KeyConditionExpression: Attribute name is a reserved keyword;
- DynamoDB Key element does not match the schema
Login to the AWS Console less. Use Dynobase.
First 7 days are on us. No strings attached.
© 2022 Dynobase