Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert 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.

Solutions on the web

via GitHub by sebastiankirsch
, 1 year ago
Moved Permanently (Service: Amazon S3; Status Code: 301; Error Code: 301 Moved Permanently; Request ID: 1BEA69C8759690E3)
via GitHub by sergproua
, 1 year ago
Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: A8565CE6E42ECDB3), S3 Extended Request ID: L5ezGGtIa86KACyXKjNWnGHSDP+JtjRPAI7rZr1S0U9p07zY8pvKic6nsw9GgiVANVK1Ohj5BBk=
via GitHub by akiradeveloper
, 2 years ago
Request Entity Too Large (Service: Amazon S3; Status Code: 413; Error Code: 413 Request Entity Too Large; Request ID: null), S3 Extended Request ID: null
via GitHub by landonreed
, 1 year ago
The provided token has expired. (Service: Amazon S3; Status Code: 400; Error Code: ExpiredToken; Request ID: C043EEA5A00B5DF8)
via GitHub by yuriti89
, 10 months ago
Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed. (Service: Amazon S3; Status Code: 400; Error Code: RequestTimeout; Request ID: XXX), S3 Extended Request ID: XXXXX
via GitHub by pradeepchemical1
, 1 year ago
Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 8C2A9D868737EB62), S3 Extended Request ID: MwaqxlNVSIHFE11P4V9QSH+LoQFRRIvn8bM2GVoDFTOdSZB4lcNyEatODuRAGU/ZgYopuElKsWA=
com.amazonaws.services.s3.model.AmazonS3Exception: Moved Permanently (Service: Amazon S3; Status Code: 301; Error Code: 301 Moved Permanently; Request ID: 1BEA69C8759690E3)	at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1401)	at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:945)	at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:723)	at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:475)	at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:437)	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:386)	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3996)	at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:1161)	at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:1136)