I Started Facing an Issue with my S3 Buckets since few hours, and unable to find a Solution to resolved the same.
I Was not able to
a) Add a "Bucket Policy"
Getting an Error: Access Denied while Trying to Save the Bucket Policy, where I'm the owner of the bucket and the aws account.
b) Host a Static Website from my S3 Bucket.
After Defining the Index.html & error.html file in the Static Website Settings, and Making them Public, when I tried to access the website with the URL Provided there, it is Giving the same message stating "Access Denied."
Tried Deleting the Bucket and Re-Creating it, Tried Logging Out & Logging In into my AWS account, but still the same issue.
Note: I'm absolutely able to create & delete s3 buckets.