If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

Set the S3 bucket to the same region as AmazonS3Client, otherwise it just throws this exception. Check if your bucket name is correct as well.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Add compatibility to CEPH
    via GitHub by armin-bauer
  • s3.getObject(bucket,key) fails with 400
    via by Unknown author,
  • Spring Integration DSL ErrorHandling
    via Stack Overflow by James Gilchrist
    • The bucket is in this region: null.Please use this region to retry the request (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: EA0959BA1B1D56A7) at com.amazonaws.http.AmazonHttpClient.handleErrorResponse( at com.amazonaws.http.AmazonHttpClient.executeOneRequest( at com.amazonaws.http.AmazonHttpClient.executeHelper( at com.amazonaws.http.AmazonHttpClient.doExecute( at com.amazonaws.http.AmazonHttpClient.executeWithTimer( at com.amazonaws.http.AmazonHttpClient.execute( at at at

    Users with the same issue

    3 times, last one,
    Unknown UserUnknown User
    48 times, last one,
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    2 times, last one,
    49 more bugmates