blackbox
blackbox copied to clipboard
Boto3 > 1.35.99 breaks backblaze B2 upload
Using blackbox with boto3 > 1.35.99 and Backblaze B2 causes uploads to fail with
04:14:12 An error occurred (InvalidArgument) when calling the PutObject operation: Unsupported header 'x-amz-sdk-checksum-algorithm' received for this API call.
This is due to https://github.com/boto/boto3/issues/4392 , which changes the default file upload integrity settings and causes boto3 to send x-amz-sdk-checksum-algorithm which is unsupported by Backblaze's S3 API.
Hmm, thanks for the information.
For the purposes of blackbox, I'm thinking that just pinning our boto3 version lower than 1.36 is an acceptable temporary solution. Probably, this problem will resolve itself as clients like Backblaze catch up their support for this change, so we could revert that pin in a year or so.