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)
- Could not connect to the endpoint URL https:dynamodb.singapore.amazonaws.com
- DynamoDB Local NoClassDefFoundError
- aws lambda dynamodb nodejs not working after few puts
- One or more parameter values were invalid: some AttributeDefinitions are not used
- could not unmarshal the value dynamodb
- dynamodb map template foreach not working
- amazon dynamodb query parentparams is not defined
- dynamodb list_append returns true but does not work
- dynamodb autoscaling not fast enough
- ConfigError: Missing region in config
- failed to begin subsegment named 'amazondynamodbv2': segment cannot be found.
- DynamoDB TTL Not Working
- failed to list tables not authorized dynamodb
- sls dynamodb install not working
- dynamodb local unable to open database file
Tired of AWS Console? Try Dynobase.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase