Error: dynamodb item size limit error

Answered by Rafal Wilinski
Last updated: October 23rd, 2026
Solution
DynamoDB rejects a write when the resulting item exceeds 400 KB, including attribute names and values. This is a fixed per-item limit, not a table capacity setting. An UpdateItem that makes an existing item too large can fail just like a PutItem.
- Measure the resulting stored item, including nested values and UTF-8 attribute names. JSON wire size and stored size differ; base64 transport expansion is not the stored size of binary data.
- Remove redundant data or compress a large payload into a Binary attribute. Compressed content cannot be queried with ordinary document-path filters.
- Split a large document into related items under a shared partition key and distinct sort keys. Design how readers reconstruct it and how updates remain consistent.
- Store large objects in S3 and retain their keys and metadata in DynamoDB. Handle cleanup and partial failures because S3 and DynamoDB do not share an atomic transaction.
Flattening a map is not a guaranteed size reduction and can duplicate long attribute names. Also check the additional item-size constraints for projected local secondary index entries. Use the item size calculator as an estimate and leave room for future updates.
AWS describes these alternatives in large-item storage guidance.
Other Common DynamoDB Errors (with Solutions)
- DynamoDB No Provisioned Throughput specified for the table
- KMS Key Access Denied Error DynamoDB
- error retrieving dynamodb table item serializationexception
- dynamodb atomic counter not working
- dynamodb list_append returns true but does not work
- moto dynamodb not working
- dynamodb local unable to open database file
- DynamoDB validation error
- DynamoDB local error spawn java ENOENT
- com amazonaws services dynamodbv2 model resourcenotfoundexception
- ProvisionedThroughputExceededException DynamoDB
- dynamodb the parameter cannot be converted to a numeric value
- dynamodb attribute does not exist
- could not unmarshal the value dynamodb
- dynamodb number_value cannot be converted to string
Dynobase is a Professional GUI Client for DynamoDB
Start your 7-day free trial today
Product Features
DynamoDB Tools
- SSH GUI Client
- Chat With Cloud
- MongoDB GUI Client
- AWS Cost Monitoring
- DynamoDB Query Builder
- DynamoDB Code Examples
- DynamoDB Node.js Queries
- DynamoDB JSON Converter
- DynamoDB UUID Generator
- DynamoDB Local Admin GUI
- DynamoDB Pricing Calculator
- DynamoDB Single-Table Design
- Best DynamoDB GUI Clients
- Dynobase vs DynoTable
DynamoDB Info
© 2026 Dynobase