Error: dynamodb does not support null values

Answered by Rafal Wilinski
What's Causing This Error
Earlier, DynamoDB did not allow you to store empty strings or null values in an item. If you do so, DynamoDB will throw an error indicating that it does not support null values.
Solution: Here's How To Resolve It
However, as of 18th May 2020, DynamoDB no longer runs into this error and has introduced support for null values. Although, keep in mind that you may still run into this error if you are trying to store a null value on an attribute that acts as the partition key for the table or GSI.
Other Common DynamoDB Errors (with Solutions)
- DynamoDB local is not available for stage test
- DynamoDB Network Error: self signed certificate in chain
- dynamodb exclusivestartkey not working
- DynamoDB Key element does not match the schema
- a cell may contain a maximum of 30000 characters dynamodb
- dynamodb system errors metric
- localstack dynamodb not working
- DynamoDB Local Missing Authentication Token
- why is the GSI dynamodb not showing item count
- dynamodb could not load credentials from any providers
- appsync dynamodb not seeing all fields
- dynamodb local unable to locate credentials
- comparison operator does not return all attributes dynamodb
- dynamodb global secondary index not working
Spend less time in the AWS console, use Dynobase.
Start your 7-day free trial today
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase