You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using pre-signed uploading to directly upload from browser to s3. I can upload with no problems when I do not set the content disposition in options, for instance:
var s3upload = new AWS.S3({
signatureVersion: 'v4',
accessKeyId: process.env.S3_UPLOAD_CLIENT_KEY,
secretAccessKey: process.env.S3_UPLOAD_CLIENT_SECRET,
});
var baseOptions = {
Bucket: process.env.S3_BUCKET,
ACL: 'public-read',
Key: uuidv4(),
}
I get the following response: <?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>