Skip to content

boto3 1.36>= breaks multipart upload #7

@Chris-Thornton-Harvard

Description

@Chris-Thornton-Harvard

Ran into an issue while using boto3==1.38 where uploads were failing but there is frustratingly no additional details as to why in the Panopto UI logs and the API calls are all returning 200's...

1.36 introduced checksum calculation and validation changes which corrupts the upload file to Panopto.

You will either need to use a version lower or implement the following to get around it:

import os
os.environ["AWS_REQUEST_CHECKSUM_CALCULATION"] = "when_required"
os.environ["AWS_RESPONSE_CHECKSUM_VALIDATION"] = "when_required"

Could you add this to the README and also pin your versions in requirements!
Took a good amount of time debugging including pulling in Panopto support to get to this finding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions