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 is already installed on a path
- Float types are not supported. Use decimal types instead.
- dynamodb connection timeout
- dynamodb local shell not working
- DynamoDB ConditionalCheckFailedException
- failed to list tables not authorized dynamodb
- name key is not defined dynamodb
- DynamoDB Key element does not match the schema
- dynamodb does not accept empty set
- ValidationException: Invalid KeyConditionExpression: Attribute name is a reserved keyword;
- comparison operator does not return all attributes dynamodb
- DynamoDB Hostname Cannot Be Null
- DynamoDB No Provisioned Throughput specified for the table
- DynamoDB Duplicate Key Error
- dynamodb cannot pickle '\_thread.lock' object
Tired of switching accounts and regions? Use Dynobase.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase