Skip to content

Duplicate Grantee returned from GetBucketAcl #1651

Answered by jasdel
bwoznicki asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reaching out @bwoznicki. I'm not able to reproduce this issue on my side. Could you enable logging in your client to log the Response HTTP message with the body? You can enable logging per operation call to simplify the logs that are being produced.

	resp, err := client.GetBucketAcl(context.TODO(), &s3.GetBucketAclInput{
		Bucket: &bucket,
	}, func(o *s3.Options) {
                // Add logging of response message and body.
		o.ClientLogMode = aws.LogResponseWithBody
	})

The following is the test app I used to try to reproduce the issue.

package main

import (
	"context"
	"flag"
	"log"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/config"
	"github.com/aws…

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vudh1
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. service-api This issue is due to a problem in a service API, not the SDK implementation.
3 participants
Converted from issue

This discussion was converted from issue #1078 on April 01, 2022 17:34.