simples3
simples3 copied to clipboard
The request signature we calculated does not match the signature you provided
Hi, I'm having an error using this library, I found this error when using with the code below
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
this is sample code
s3 := simples3.New("us-east-1", "xxxxx", "xxxxx")
res, err := s3.FileDownload(simples3.DownloadInput{
Bucket: "mybucket",
ObjectKey: "test.txt",
})
if err != nil {
panic(err)
}
body, err := ioutil.ReadAll(res)
if err != nil {
panic(err)
}
fmt.Println(string(body))
I have tested the credentials and there are no issues
@warnacloud Did you find the problem?
@warnacloud Did you find the problem?
the problem is in the canonical request and signed method
Hi
It is working with our minio testsuite as well as a test bucket on s3. Can you run the tests with your key and let me know what the output is?