Error: failed to list tables not authorized dynamodb

Answered by Rafal Wilinski
What's Causing This Error
This error occurs when the service invoking the DynamoDB ListTables operation does not have the required identity-based policy.
In simple terms, the service invoking the DynamoDB API does not have the required permissions to execute the ListTables operation.
Solution: Here's How To Resolve It
To solve the error, visit the IAM console and locate the IAM role assigned to the service. Then, attach the inline policy shown below to the IAM Role.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "allowListTablesPolicy",
"Effect": "Allow",
"Action": "dynamodb:ListTables",
"Resource": "*"
}
]
}
Afterwards, save the changes to the role. The ListTables operation will work the next time you execute the operation via the service. However, ensure that you have added the policy to the correct role.
Other Common DynamoDB Errors (with Solutions)
- dynamodb local unable to open database file
- dynamodb does not accept empty set
- dynamodb put function not working
- ImportError: No module named boto3 (DynamoDB)
- accessdeniedexception dynamodb
- dynamodb query key condition not supported
- DynamoDB - The Security Token Included In The Request Is Invalid
- DynamoDB ValidationException: Query condition missed key schema element
- DynamoDB Network Error: self signed certificate in chain
- ConfigError: Missing region in config
- sls dynamodb install not working
- dynamodb atomic counter not working
- AWS DynamoDB errors ResourceNotFoundException
- DynamoDB Key element does not match the schema
- 'dynamodb' object has no attribute 'table'
Dynobase is a Professional GUI Client for DynamoDB
First 7 days are. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2026 Dynobase