com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 8C2A9D868737EB62), S3 Extended Request ID: MwaqxlNVSIHFE11P4V9QSH+LoQFRRIvn8bM2GVoDFTOdSZB4lcNyEatODuRAGU/ZgYopuElKsWA=

GitHub | pradeepchemical1 | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 1035#230962256

    GitHub | 10 months ago | pradeepchemical1
    com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 8C2A9D868737EB62), S3 Extended Request ID: MwaqxlNVSIHFE11P4V9QSH+LoQFRRIvn8bM2GVoDFTOdSZB4lcNyEatODuRAGU/ZgYopuElKsWA=
  2. 0

    S3 doesObjectExist throws Forbidden instead of returning False

    GitHub | 12 months ago | sergproua
    com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: A8565CE6E42ECDB3), S3 Extended Request ID: L5ezGGtIa86KACyXKjNWnGHSDP+JtjRPAI7rZr1S0U9p07zY8pvKic6nsw9GgiVANVK1Ohj5BBk=
  3. 0

    aws S3 400 Bad Request

    Stack Overflow | 4 months ago | user2917629
    com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 7FBD3901B77A07C0), S3 Extended Request ID: +PrYXDrq9qJwhwHh+DmPusGekwWf+jmU2jepUkQX3zGa7uTT3GA1GlmHLkJjjjO67UQTndQA9PE=
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug 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.
  6. 0

    GitHub comment 71#218109549

    GitHub | 12 months ago | Observer99
    java.lang.IllegalStateException: s3getFirstBatch: error listing: com.amazonaws.services.s3.model.AmazonS3Exception: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: 3E0CADB7BA581CCD), S3 Extended Request ID: KnEeAs2ITHvx+OkVqHG+YUkkv33RffTxhnX8mjFlcELbajv4L241Dz+7XGUMghUWAfG9NUhDMrU=
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.amazonaws.services.s3.model.AmazonS3Exception

    Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 8C2A9D868737EB62), S3 Extended Request ID: MwaqxlNVSIHFE11P4V9QSH+LoQFRRIvn8bM2GVoDFTOdSZB4lcNyEatODuRAGU/ZgYopuElKsWA=

    at com.amazonaws.http.AmazonHttpClient.handleErrorResponse()
  2. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1389)
    2. com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:902)
    3. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607)
    4. com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376)
    5. com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338)
    6. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287)
    6 frames
  3. AWS Java SDK for Amazon S3
    AmazonS3Client.doesObjectExist
    1. com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3654)
    2. com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:964)
    3. com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:940)
    4. com.amazonaws.services.s3.AmazonS3Client.doesObjectExist(AmazonS3Client.java:999)
    4 frames
  4. com.twitter.heron
    SubmitterMain.main
    1. com.twitter.heron.uploader.s3.S3Uploader.uploadPackage(S3Uploader.java:111)
    2. com.twitter.heron.scheduler.SubmitterMain.uploadPackage(SubmitterMain.java:457)
    3. com.twitter.heron.scheduler.SubmitterMain.submitTopology(SubmitterMain.java:400)
    4. com.twitter.heron.scheduler.SubmitterMain.main(SubmitterMain.java:315)
    4 frames