Error: cognitoidentitycredentials is not authorized to perform dynamodb describetable

Answered by Rafal Wilinski
What's Causing This Error
You may run into this error if the required identity-based policy to access the function describeTable()
is not assigned to the IAM Role.
Solution: Here's How To Resolve It
To resolve the error, simply add the identity-based policy shown below to the IAM Role.
{ "Version": "2012-10-07", "Statement":[ { "Sid": "permission_for_describe_table", "Effect": "Allow", "Action":["dynamodb:DescribeTable"], // permit on all tables "Resource": "*" } ] }
Other Common DynamoDB Errors (with Solutions)
- dynamodb put fail if exists
- dynamodb is abstract cannot be instantiated
- DynamoDB failedbatch retry
- Dynamodb error 500
- dynamodb unable to locate credentials
- dynamodb user errors metric
- DynamoDB Hostname Cannot Be Null
- dynamodb getItem() is not a function
- dynamodb item size limit error
- dynamodb attribute does not exist
- DynamoDB Key element does not match the schema
- dynamodb cannot assign requested address
- Conditional Update Error DynamoDB
- DynamoDB Local NoClassDefFoundError
- error dynamodb streams must be enabled on the table
Spend less time in the AWS console, use Dynobase.
Try 7-day free trial. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase