Error: DynamoDB aliasing is not supported

Answered by Rafal Wilinski
What's Causing This Error
The error "Dynamodb aliasing is not supported" occurs when you try to use aliasing in a DynamoDB query or update. Aliasing is a feature that allows you to rename attributes in the query results, but it is not supported in DynamoDB.
Solution: Here's How To Resolve It
To solve this error, you can execute the following:
- Instead of using aliasing, you can use the attribute names as they are in the table.
- However, if your attributes are part of the reserved attributes in DynamoDB, you will need to alias it using "#" in the expression and defining its real attribute name in the
ExpressionAttributeNames
Other Common DynamoDB Errors (with Solutions)
- validationsettings are not supported for 'dynamodb' endpoint
- AWS DynamoDB errors ResourceNotFoundException
- amazon dynamodb query parentparams is not defined
- DynamoDB TTL Not Working
- DynamoDB failedbatch retry
- DynamoDB Mapper Could Not Instantiate Class
- DynamoDB Auto Scaling Not Working
- AWS Lambda DynamoDB Stream Error
- DynamoDB Error All Attributes Must Be Indexed
- dynamodb-admin command not found
- dynamodb autoscaling not fast enough
- DynamoDB Missing Authentication Token
- DynamoDB Error Message KeyError item is not JSON serializable
- DynamoDB Local Cannot Create Preexisting Table
Tired of switching accounts and regions? Use Dynobase.
Start your 7-day free trial today
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase