com.amazonaws.services.s3.model.AmazonS3Exception: The specified location-constraint is not valid (Service: Amazon S3; Status Code: 400; Error Code: InvalidLocationConstraint; Request ID: 8509B9CACA0AA3D2)

GitHub | edwardotis | 2 weeks ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to iferca . Or join the community to write better ones.
  1. 0
    samebug tip
    In OSX the issue for me was due to missing sqlite4java lib DynamoDB need. Following the attached stackoverflow question solved my issue
  2. 0

    GitHub comment 47#277599152

    GitHub | 2 weeks ago | edwardotis
    com.amazonaws.services.s3.model.AmazonS3Exception: The specified location-constraint is not valid (Service: Amazon S3; Status Code: 400; Error Code: InvalidLocationConstraint; Request ID: 8509B9CACA0AA3D2)
  3. 0

    Unable to upload empty files to Minio. (unexpected EOF / #has incomplete body)

    GitHub | 2 weeks ago | chrisgavin
    com.amazonaws.services.s3.model.AmazonS3Exception: You did not provide the number of bytes specified by the Content-Length HTTP header. (Service: Amazon S3; Status Code: 400; Error Code: IncompleteBody; Request ID: 3L137), S3 Extended Request ID: 3L137
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InstanceID not found on describe instances call with no filters.

    GitHub | 4 months ago | rdifalco
    com.amazonaws.services.ec2.model.AmazonEC2Exception: The instance ID 'i-6381a3fa' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidInstanceID.NotFound; Request ID: 3ad835bb-58e7-4a40-9a92-b32372a3c0ab)
  6. 0

    Request has invalid parameters Compare Faces (API)

    GitHub | 2 months ago | rakeshkeerthi
    com.amazonaws.services.rekognition.model.InvalidParameterException: Request has Invalid Parameters (Service: AmazonRekognition; Status Code: 400; Error Code: InvalidParameterException; Request ID: a036112b-d23b-11e6-8a06-21f42d3a685a)
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

    The specified location-constraint is not valid (Service: Amazon S3; Status Code: 400; Error Code: InvalidLocationConstraint; Request ID: 8509B9CACA0AA3D2)

    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse()
  2. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1586)
    2. com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1254)
    3. com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1035)
    4. com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:747)
    5. com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:721)
    6. com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:704)
    7. com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:672)
    8. com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:654)
    9. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:518)
    9 frames
  3. AWS Java SDK for Amazon S3
    AmazonS3$createBucket$1.call
    1. com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4137)
    2. com.amazonaws.services.s3.AmazonS3Client.createBucket(AmazonS3Client.java:998)
    3. com.amazonaws.services.s3.AmazonS3Client.createBucket(AmazonS3Client.java:951)
    4. com.amazonaws.services.s3.AmazonS3$createBucket$1.call(Unknown Source)
    4 frames