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 scan missing values
- DynamoDB Update Not Working
- dynamodb getItem() is not a function
- dynamodb map template foreach not working
- DynamoDB error cannot find module build/Release/DTraceProviderBindings
- DynamoDB Invalid UpdateExpression Syntax Error Token
- ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string
- resourcenotfoundexception dynamodb nodejs
- dynamodb throttle error code
- dynamodb put item not working
- is not authorized to perform dynamodb:* on resource
- dynamodb no range key value present
- dynamodb update fail if not exists
- Error ValidationException: One or more parameter values were invalid: Type mismatch for key X expected: S actual: M
- a cell may contain a maximum of 30000 characters dynamodb
Dynobase is a Professional GUI Client for DynamoDB
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2024 Dynobase