AWS S3 backup error AccessDenied when calling the ListBuckets operation


I have multiple servers configured to do a daily backup to an S3 bucket. Everything been running fine for years. Today I found out that all the servers stopped doing the backup since July 14. When I checked the logs I found this error:

An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied

I tried to google it but never found anything about it. Finally I was able to fix the problem by adding the action s3:ListAllMyBuckets to the policy attached to the AWS user used to upload the backup.

I don’t know why this change happened since everything used to work fine and I am not sure if this is the optimal solution but since I wasn’t able to find anything about it online I thought sharing my experience could save somebody a valuable time.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.