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)
- AWS CLI DynamoDB Error Parsing Parameter
- dynamodb item size limit error
- DynamoDB stream lambda error
- DynamoDB throttling error
- DynamoDB table not updating
- com amazonaws services dynamodbv2 model resourcenotfoundexception
- dynamodb list_append returns true but does not work
- Unable to start DynamoDB Local process
- DynamoDB local error unable to access JAR file dynamodblocal.jar
- DynamoDB cannot do operations on a non-existent table
- dynamodb exclusivestartkey not working
- dynamodb scan missing values
- failed to list tables not authorized dynamodb
- dynamodb unknown error
- an expression attribute name used in the document path is not defined
Spend less time in the AWS console, use Dynobase.
Try 7-day free trial. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2026 Dynobase