Post

Spent 2 hours trying to upload a file to my S3 bucket using AWS s3 SDK The error: "The request signature we calculated does not match the signature you provided" Apparently this can happen due to "n" number of reasons & I gotta figure which one by trial & error πŸ˜΅β€πŸ’«

0 reposts1 like

Gawd I hate that. I wish there was some way for AWS to give a hint but realize it's just math, so: No. Fought this for a full day and finally realized that my ContentDisposition was: f"attachment; filename={filename}" but needed the quotes around the name: f'attachment; filename="{filename}"' :-(