dynobase-icon
Dynobase

Error: One or more parameter values were invalid: some AttributeDefinitions are not used

Rafal Wilinski

Answered by Rafal Wilinski

Solution

An error appearing when trying to create a table with a AttributeDefinitions argument containing unnecessary and unused Attribute definitions. Since DynamoDB is schemaless you don't have to and you shouldn't specify attributes for non-key attributes.

Per AWS Documentation:

AttributeDefinitions - An array of attributes that describe the key schema for the table and indexes.

Solution: Don't include any non-key attribute definitions in AttributeDefinitions. Include only Attributes used by the table index or other Global or Local secondary indexes.

Better DynamoDB experience.

Try 7-day free trial. No credit card needed.

Product Features

Download
/
Changelog
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
© 2024 Dynobase
+
Better DynamoDB Experience.
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.