Reputation: 131
After messing around with S3 bucket permission, I can't access the s3 bucket from AWS console and CLI. Always getting this error from the console
Sorry! You do not have permissions to view this bucket.
Using the CLI on any s3api call, would get Access Denied.
A client error (AccessDenied) occurred when calling the GetBucketVersioning operation: Access Denied A client error (AccessDenied) occurred when calling the PutObjectAcl operation: Access Denied
Anyone know how to fix this issue.
Upvotes: 0
Views: 2489
Reputation: 131
I solved the problem in the end it was the bucket policy where my IP was in the blocked instead of allow access. I used a different ip and able to update bucket policy.
Upvotes: 1