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 BatchSave not working
- KMS Key Access Denied Error DynamoDB
- dynamodb list_append returns true but does not work
- is not authorized to perform dynamodb:* on resource
- could not connect to the endpoint URL dynamodb
- ImportError: No module named boto3 (DynamoDB)
- dynamodb mapper save not persisting
- dynamodb atomic counter not working
- ConfigError: Missing region in config
- error retrieving dynamodb table item serializationexception
- could not unconvert attribute dynamodb
- dynamodb query is not null
- DynamoDB error 400
- DynamoDB type is not supported
- dynamodb update fail if not exists
Dynobase is a Professional GUI Client for DynamoDB
Start your 7-day free trial today
Product Features
DynamoDB Tools
DynamoDB Info
© 2026 Dynobase