Error: cognitoidentitycredentials is not authorized to perform dynamodb describetable
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 error 500
- DynamoDB - The Security Token Included In The Request Is Invalid
- DynamoDB error cannot find module build/Release/DTraceProviderBindings
- dynamodb list_append if_not_exists not working
- dynamodb query key condition not supported
- dynamodb map template foreach not working
- does not support attribute type arn aws dynamodb
- DynamoDB Invalid UpdateExpression Syntax Error Token
- DynamoDB Expression Not Null
- aws.dynamodb.documentclient is not a constructor
- DynamoDB Delete Not Working
- dynamodb connection timeout
- dynamodb property projection cannot be empty
- the dynamodb service does not have version
- dynamodb query is null
Tired of AWS Console? Try Dynobase.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2023 Dynobase