Skip to content

Error from s3 upgrade: "api error InvalidPart: One or more of the specified parts could not be found" #1

@nguyengg

Description

@nguyengg

Full error message:

cause: operation error S3: CompleteMultipartUpload, https response error StatusCode: 400, RequestID: R5B20AV083Y6HD7S, HostID: E6JXPySCHvlrX/ehR/jWufF4HnhcfVKrAfB0FF3Vjvc97d1iS0VaG03yAviRHlybylla+7sNQBE=, api error InvalidPart: One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.

Issue vanishes when downgrading to github.com/aws/aws-sdk-go-v2/service/s3@v1.72.3 (https://github.com/aws/aws-sdk-go-v2/blob/main/service/s3/CHANGELOG.md#v1723-2025-01-14).

Looks like in the next version (https://github.com/aws/aws-sdk-go-v2/blob/main/service/s3/CHANGELOG.md#v1730-2025-01-15), checksum validation is enabled but the xy3.Upload method does not account for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions