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)
- failed to list tables not authorized dynamodb
- dynamodb streams missing events
- dynamodb local shell not working
- DynamoDB Invalid UpdateExpression Syntax Error Token
- 'dynamodb' object has no attribute 'table'
- DynamoDB error cannot find module build/Release/DTraceProviderBindings
- dynamodb query key condition not supported
- dynamodb can not resolve withkeyconditionexpression
- could not unmarshal the value dynamodb
- could not connect to the endpoint URL dynamodb
- aws lambda dynamodb nodejs not working after few puts
- DynamoDB string set cannot be empty
- DynamoDB batch write is not working
- dynamodb problem function call failed
- dynamodb the table does not have the specified index
Dynobase is a Professional GUI Client for DynamoDB
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase