-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Comments
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, |
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. |
Here is the full list of regions that I use:
|
@anas-ben-ouaghrem is this still an issue? If it is, it can be easily checked with the verbose wirelogging. Here's an example of the verbose wirelogs that shows the ListBuckets XML response with the DisplayName information:
|
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
The text was updated successfully, but these errors were encountered: