Skip to content

Aws-s3 bucket location is not returned properly for the region US East (N. Virginia) #1890

@Naveen1805

Description

@Naveen1805

I tried to get the bucket location for a particular bucket in US East (N. Virginia) region using java sdk. Instead of returning "us-east-1" is return "US". Is there any way to handle this.

code:
bucketRegion = s3Client.getBucketLocation(bucketName);

instead of "us-east-1" is return "US", so i can't able to access that bucket by setting US as the client region

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions