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)
- failed to list tables not authorized dynamodb
- dynamodb converter not found for enhancedtype
- DynamoDB validation error
- dynamodb streams missing events
- dynamodb the parameter cannot be converted to a numeric value NaN
- DynamoDB parameter validation failed
- dynamodb item size limit error
- moto dynamodb not working
- DynamoDB Error All Attributes Must Be Indexed
- dynamodb the parameter cannot be converted to a numeric value
- dynamodb unable to locate credentials
- dynamodb exclusivestartkey not working
- DynamoDB TTL Not Working
- DynamoDB - The Security Token Included In The Request Is Invalid
- dynamodb index does not exist
Spend less time in the AWS console, use Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase