Error: DynamoDB aliasing is not supported

Rafal Wilinski

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

Spend less time in the AWS console, use Dynobase.

First 7 days are on us. No strings attached.

Product Features

Member Portal
© 2024 Dynobase
Better DynamoDB Experience.
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.