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 unable to find storage information for property
- could not unmarshal the value dynamodb
- dynamodb cannot create preexisting table
- Unable to start DynamoDB Local process
- DynamoDB Query Limit Not Working
- dynamodb net scan condition or not working
- dynamodb: one or more parameter values were invalid: type mismatch for index key
- ConfigError: Missing region in config
- ValidationException: Invalid KeyConditionExpression: Attribute name is a reserved keyword;
- DynamoDB Update Not Working
- cognitoidentitycredentials is not authorized to perform dynamodb describetable
- DynamoDB TTL Not Working
- DynamoDB Auto Scaling Not Working
- dynamodb put item not working
Tired of switching accounts and regions? Use Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase