Error: dynamodb index does not exist

Answered by Rafal Wilinski
What's Causing This Error
You may encounter this error if you try to access a secondary index in Amazon DynamoDB that does not exist. Mostly this happens when the index is updated or not created.
Furthermore, you can get this error if you use an incorrect index name.
Solution: Here's How To Resolve It
Ensure that the index used is in the available index list for the table. You can use AWS CLI or the AWS SDK for this. If you still get the error, check the permissions for the IAM user or role used to access the index.
Other Common DynamoDB Errors (with Solutions)
- DynamoDB is missing the key id in the item
- dynamodb cannot read property '0' of undefined
- dynamodb cannot read properties of undefined
- DynamoDB Mapper Could Not Instantiate Class
- DynamoDB Local NoClassDefFoundError
- dynamodb query not returning the full item
- dynamodb could not instantiate class
- DynamoDB Duplicate Key Error
- Unable to start DynamoDB Local process
- why is the GSI dynamodb not showing item count
- DynamoDB Query Limit Not Working
- DynamoDB Is Unsupported It Cannot Be Instantiated
- dynamodb atomic counter not working
- DynamoDB Invalid UpdateExpression Syntax Error Token
Better DynamoDB experience.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase