AWS S3: The bucket you are attempting to access must be addressed using the specified endpoint

后端 未结 15 457
南旧
南旧 2020-12-02 10:33

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         


        
15条回答
  •  时光取名叫无心
    2020-12-02 11:34

    It seems likely that this bucket was created in a different region, IE not us-west-2. That's the only time I've seen "The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint."

    US Standard is us-east-1

提交回复
热议问题