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",
        "Sid": "permission_for_describe_table",
        "Effect": "Allow",
        // permit on all tables
        "Resource": "*"

Better DynamoDB experience.

First 7 days are on us. No strings attached.

Product Features

© 2022 Dynobase

Better DynamoDB Experience.
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.