blackbox icon indicating copy to clipboard operation
blackbox copied to clipboard

Boto3 > 1.35.99 breaks backblaze B2 upload

Open mrkirby153 opened this issue 10 months ago • 1 comments

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.

mrkirby153 avatar Mar 03 '25 05:03 mrkirby153

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.

lemonsaurus avatar Mar 04 '25 12:03 lemonsaurus