Error: dynamodb no range key value present

Answered by Rafal Wilinski
What's Causing This Error
A DynamoDB primary key comprises a partition key and an optional sort key (range key). The partition key distributes data across multiple partitions, while the range key is used to sort the items within a partition. If you create a table with a range key, it is mandatory to provide a value for it whenever you update, create or delete an item from that error. Therefore, there are 2 major reasons for this error:
- When the inserted, updated, retrieved, or queried item does not contain a value for the range key.
- When the table has been created without a range key.
Solution: Here's How To Resolve It
Ensure that all the inserted, updated, retrieved, or queried items have a value for the range key.
Other Common DynamoDB Errors (with Solutions)
- dynamodb localhost not working
- ImportError: No module named boto3 (DynamoDB)
- dynamodb-admin command not found
- ValidationException: Invalid KeyConditionExpression: Attribute name is a reserved keyword;
- dynamodb list_append if_not_exists not working
- dynamodb net scan condition or not working
- dynamodb can not resolve withkeyconditionexpression
- dynamodb put function not working
- Float types are not supported. Use decimal types instead.
- cognitoidentitycredentials is not authorized to perform dynamodb describetable
- dynamodb throttle error code
- DynamoDB Network Error: self signed certificate in chain
- ProvisionedThroughputExceededException DynamoDB
- a cell may contain a maximum of 30000 characters dynamodb
- ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string
Dynobase is a Professional GUI Client for DynamoDB
Try 7-day free trial. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase