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 could not invoke null on class
- DynamoDB ConditionalCheckFailedException
- Boto3 DynamoDB KeyError
- DynamoDB error cannot find module build/Release/DTraceProviderBindings
- aws.dynamodb.documentclient is not a constructor
- DynamoDB - The Security Token Included In The Request Is Invalid
- AWS DynamoDB CredentialsError: Missing credentials in config
- name key is not defined dynamodb
- DynamoDB Is Unsupported It Cannot Be Instantiated
- DynamoDB Error 413
- DynamoDB Auto Scaling Not Working
- ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string
- boto3 dynamodb client error
- dynamodb unable to execute http request
- dynamodb localhost error
Tired of AWS Console? Try Dynobase.
Try 7-day free trial. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase