Skip to content

Error: BatchedUploadIncomplete: some objects have failed to upload #2

Open
@thelebdev

Description

@thelebdev

I'm trying to upload the content of a whole directory. The content of the directory is never static, sometimes I have 20 files, some other time I've got 25 files, etc.

The code is always failing at the last file with the following stack trace:

Error: BatchedUploadIncomplete: some objects have failed to upload.
caused by: failed to perform batch operation on "path/to/file/file" to "bucket-name":
MultipartUpload: upload multipart failed
	upload id: random_file_id
caused by: BodyHashError: failed to compute body hashes
caused by: read path/to/directory/of/files: is a directory

any idea what might be going on?

Note: It is always failing on the last file

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