com.amazonaws.services.s3.model.AmazonS3Exception

tip

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.

  • AWS s3 permissions issue
    via GitHub by landonreed
    ,
  • Multipart Uploads for Large Files
    via GitHub by afader
    ,
  • Can not create bucket in AWS S3
    via Stack Overflow by Rakib13
    ,
  • Amazon S3 and cyrillic letters in file name
    via Stack Overflow by Cat H
    ,
    • com.amazonaws.services.s3.model.AmazonS3Exception: The provided token has expired. (Service: Amazon S3; Status Code: 400; Error Code: ExpiredToken; Request ID: C043EEA5A00B5DF8) at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1389)[datatools.jar:na] at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:902)[datatools.jar:na] at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607)[datatools.jar:na] at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376)[datatools.jar:na] at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338)[datatools.jar:na] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287)[datatools.jar:na] at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3654)[datatools.jar:na] at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1354)[datatools.jar:na]

    Users with the same issue

    Unknown User
    48 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    49 more bugmates