Error: why is the GSI dynamodb not showing item count

Answered by Rafal Wilinski
What's Causing This Error
DynamoDB updates the item count of a GSI roughly every 6 hours. Therefore, it will take a while for DynamoDB to update the item count if you added them recently.
Consequently, you will not be able to see the item count for a few hours (approximately 6).
Solution - Here's How To Resolve It
There is no way to improve the time taken for DynamoDB to count items in the GSI. Hence, the only solution is to wait for a couple of hours before checking the item count.
Other Common DynamoDB Errors (with Solutions)
- dynamodb put function not working
- Conditional Update Error DynamoDB
- dynamodb mapper save not persisting
- Unable to start DynamoDB Local process
- dynamodb list_append if_not_exists not working
- ConfigError: Missing region in config
- failed to begin subsegment named 'amazondynamodbv2': segment cannot be found.
- dynamodb: one or more parameter values were invalid: type mismatch for index key
- DynamoDB validation error
- localstack dynamodb not working
- DynamoDB Key element does not match the schema
- dynamodb local could not load credentials from any providers
- dynamodb query key condition not supported
- dynamodb botocore.exceptions.nocredentialserror unable to locate credentials
- dynamodb item size limit error
Tired of switching accounts and regions? Use Dynobase.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2026 Dynobase