I am trying to delete uploaded image files with the AWS-SDK-Core Ruby Gem.
I have the following code:
require \'aws-sdk-core\'
def pull_picture(pict
I had same error. It occurred when s3 client was created with different endpoint than the one which was set up while creating bucket.
s3Client = New AmazonS3Client(AWS_ACCESS_KEY, AWS_SECRET_KEY, RegionEndpoint.USWest2)
s3Client = New AmazonS3Client(AWS_ACCESS_KEY, AWS_SECRET_KEY, RegionEndpoint.USEast1)