Title: Error: Error executing ListBuckets
Last modified: January 2, 2020

---

# Error: Error executing ListBuckets

 *  Resolved [Diletec](https://wordpress.org/support/users/diletec/)
 * (@diletec)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-error-executing-listbuckets/)
 * Helo!
 * I did the CDN setup using (Amazon CloudFront Over S3). But even with Read, Edit,
   Write, and Delete permissions, I have the error.
 * By checking some blogs and Youtube videos, I see that people make S3 all public,
   and if I set up my S3, it works. But I believe that it could not be all public,
   such as the option to write and delete objects. I believe this should only be
   done with IAM credentials.
    Am I right?
 * If so, can anyone share the minimum settings to apply to the AWS IAM?
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Diletec](https://wordpress.org/support/users/diletec/)
 * (@diletec)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-error-executing-listbuckets/#post-12287019)
 * Another mistake I when trying to uploaded the files.
 * Child-Theme/screenshot.png Unable to put object (Error executing “PutObject” 
   on “[https://my-site.s3.amazonaws.com/wp-content/themes/Child-Theme/screenshot.png&#8221](https://my-site.s3.amazonaws.com/wp-content/themes/Child-Theme/screenshot.png&#8221);;
   AWS HTTP error: Client error: `PUT https://my-site.s3.amazonaws.com/wp-content/
   themes/Child-Theme/screenshot.png` resulted in a `403 Forbidden` response: AccessDeniedAccess
   DeniedC737B7 (truncated…) AccessDenied (client): Access Denied – AccessDeniedAccess
   Denied).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-error-executing-listbuckets/#post-12296445)
 * Hello [@diletec](https://wordpress.org/support/users/diletec/)
 * Thank you for your inquiry and I am happy to assist you with this.
    Only GetObject
   should be public. You can check the example of how to set it up [here](https://stackoverflow.com/questions/19176926/how-to-make-all-objects-in-aws-s3-bucket-public-by-default)
   IAM uses S3-all permissions for all operations, but if you specify the bucket
   yourself and don’t create it from W3 Total Cache – only read-write-list is enough
   for the specific bucket. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error: Error executing ListBuckets’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [CF](https://wordpress.org/support/topic-tag/cf/)
 * [cloud front](https://wordpress.org/support/topic-tag/cloud-front/)

 * 2 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/error-error-executing-listbuckets/#post-12296445)
 * Status: resolved