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 Errors InvalidSignatureException Signature Expired
- dynamodb throttle error code
- dynamodb unable to execute http request
- error dynamodb streams must be enabled on the table
- dynamodb local could not load credentials from any providers
- a bytes-like object is required not binary dynamodb
- Unable to start DynamoDB Local process
- DynamoDB error cannot find module build/Release/DTraceProviderBindings
- One or more parameter values were invalid: some AttributeDefinitions are not used
- DynamoDB Network Error: self signed certificate in chain
- dynamodb item size limit error
- dynamodb not a managed type
- dynamodb user errors metric
- dynamodb unable to parse base64 string
- ImportError: No module named boto3 (DynamoDB)
Tired of switching accounts and regions? Use Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase