dynobase-icon
Dynobase

Error: dynamodb the table does not have the specified index

Rafal Wilinski

Answered by Rafal Wilinski

Last updated: October 23rd, 2026

Solution

“The table does not have the specified index” means the IndexName in the request does not identify an index on the table reached by that client. Compare the deployed table’s metadata with the request; a name in application code or an IaC template does not prove the index was created.

aws dynamodb describe-table --table-name Orders --region us-east-1 \
  --query 'Table.{Arn:TableArn,GSIs:GlobalSecondaryIndexes,LSIs:LocalSecondaryIndexes}'
  1. Match the index name exactly, including case. Use the index name, not its key attribute name or ARN.
  2. Check the client’s account, Region, endpoint, and table name. Deployment stages can contain different versions of the same table.
  3. If the GSI is still CREATING, wait for its IndexStatus to become ACTIVE. A base table can be ACTIVE while a new index is still backfilling.
  4. If the index is absent, add a GSI through a reviewed schema change. An LSI must be defined when its table is created and cannot be added later.

For local development, run the same metadata check with --endpoint-url http://localhost:8000. Without -sharedDb, DynamoDB Local separates databases by access key and Region. Align those settings and apply the intended table migration. Deleting the local database file destroys data and is not a routine fix.

See GSI setup and AWS documentation.

Dynobase is a Professional GUI Client for DynamoDB

Start your 7-day free trial today

Product Features

Download
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
© 2026 Dynobase
+
Still using AWS DynamoDB Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.