Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bucket Owner displayName null even though it isn't #2978

Open
anas-ben-ouaghrem opened this issue May 18, 2023 · 3 comments
Open

Bucket Owner displayName null even though it isn't #2978

anas-ben-ouaghrem opened this issue May 18, 2023 · 3 comments
Assignees
Labels
bug This issue is a bug. p3 This is a minor priority issue

Comments

@anas-ben-ouaghrem
Copy link

Describe the bug

Hello,
I was retrieving the owner display names for all of my s3 buckets a week ago then today and with the same code the display name became null. I checked in the cli and I retrieve the expected display name, meaning that it shouldn't be null

Expected Behavior

The actual display name gets retrieved

Current Behavior

The display name is always null

Reproduction Steps

List buckets = s3Client.listBuckets();
for ( Bucket bucket : buckets) {
System.out.println(bucket.getOwner().getDisplayName());
}

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

1.12.470

JDK version used

17

Operating System and version

windows 11 and ubuntu 23.04

@anas-ben-ouaghrem anas-ben-ouaghrem added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 18, 2023
@bhoradc bhoradc self-assigned this Jun 6, 2023
@bhoradc bhoradc removed the needs-triage This issue or PR still needs to be triaged. label Jun 6, 2023
@bhoradc
Copy link

bhoradc commented Jun 19, 2023

Hello @Anas-Ben-Oughrem,

Can you please check and confirm the AWS region it's pulling via AWS SDK for Java?

DisplayName is supported only in certain AWS regions, as specified here.

If you still have further questions, can you kindly enable verbose wire logging and provide us the logs? Kindly redact any sensitive information the log may contain.

Instructions to enable wire logging can be found here.

Regards,
Chaitanya

@bhoradc bhoradc added response-requested Waiting on additional info or feedback. Will move to "closing-soon" in 5 days. p3 This is a minor priority issue labels Jun 19, 2023
@github-actions
Copy link

It looks like this issue has not been active for more than five days. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please add a comment to prevent automatic closure, or if the issue is already closed please feel free to reopen it.

@github-actions github-actions bot added the closing-soon This issue will close in 2 days unless further comments are made. label Jun 25, 2023
@anas-ben-ouaghrem
Copy link
Author

Here is the full list of regions that I use:

private static final Regions[] awsRegions = {
           Regions.AP_SOUTH_1,
           Regions.EU_NORTH_1,
           Regions.EU_WEST_3,
           Regions.EU_WEST_2,
           Regions.EU_WEST_1,
           Regions.AP_NORTHEAST_3,
           Regions.AP_NORTHEAST_2,
           Regions.AP_NORTHEAST_1,
           Regions.CA_CENTRAL_1,
           Regions.SA_EAST_1,
           Regions.AP_SOUTHEAST_1,
           Regions.AP_SOUTHEAST_2,
           Regions.EU_CENTRAL_1,
           Regions.US_EAST_1,
           Regions.US_EAST_2,
           Regions.US_WEST_1,
           Regions.US_WEST_2,

   };

@github-actions github-actions bot removed closing-soon This issue will close in 2 days unless further comments are made. response-requested Waiting on additional info or feedback. Will move to "closing-soon" in 5 days. labels Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants