Listing object encrpytion error

Hi …
I am using this code for listing bucket object .
bucket, err := proj.OpenBucket(ctx, Bucketname access)
if err != nil {
return fmt.Errorf(“Could not open bucket %q: %s”, Bucketname, err)
defer bucket.Close()

var cfgforlist storj.ListOptions
cfgforlist.Direction = storj.Forward
listofobject,err:= bucket.ListObjects(ctx, &cfgforlist)
fmt.Println("\nListing object from the bucket:",err)
if err != nil {
return fmt.Errorf("Listing object failed. %s: ", err)

but when i am running this code i am getting error
encryption error: decryption failed, check encryption key: cipher: message authentication failed
Question :

  1. Why i am getting this error ?
  2. How can i resolve this error ?

Hi shivam201312,
We’re still looking into this. It may be related to your other ticket Encryption Error which we’re investigating as well.
Thanks for your patience.

1 Like

Thank you @jennifer for informing .:smiley::smiley:

1 Like