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)
- cannot find module 'dynamodb-doc'
- DynamoDB Auto Scaling Not Working
- AWS DynamoDB errors ResourceNotFoundException
- could not unconvert attribute dynamodb
- ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string
- Float types are not supported. Use decimal types instead.
- dynamodb ttl not deleting / erasing items
- name key is not defined dynamodb
- could not connect to the endpoint URL dynamodb
- DynamoDB ValidationException: Query condition missed key schema element
- KMS Key Access Denied Error DynamoDB
- aws lambda dynamodb nodejs not working after few puts
- DynamoDB FilterExpression Not Working
- dynamodb: one or more parameter values were invalid: type mismatch for index key
- dynamodb mapper save not persisting
Tired of AWS Console? Try Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2023 Dynobase