title: Error retrieving a list of your S3 buckets from AWS:Access Denied wordpress
body: <p>I have get this error in wordpress: <code>Error retrieving a list of your S3 buckets from AWS:Access Denied</code>. I have write policy for IAM user. I don't know where I am doing wrong. Please help me.</p>
  
  <p>My IAM policy is here:</p>
  
  <pre><code>{
    "Version": "2012-10-17",
    "Statement": [
      {
        "Sid": "Stmtxxxxxxxxxxx",
        "Effect": "Allow",
        "Action": [
          "s3:GetBucketLocation",
          "s3:ListBucket",
          "s3:ListBucketMultipartUploads"
        ],
        "Resource": [
          "arn:aws:s3:::bucketname/*"
        ]
      }
    ]
  }
  </code></pre>