Multipart upload failing on CompleteMultipartUpload with InvalidPart when retrying chunk upload

Posted July 30, 2021 293 views
APIJavaScriptDigitalOcean Spaces

I’m using to upload large files in chunks to DigitalOcean Spaces.
It works well but I was trying to implement retry policy in case one of the chunks fails to upload (due to a connection error). The retry itself works well and DOS will accept the upload but then, upon the final CompleteMultipartUpload request, I’ll always get an InvalidPart error back. (

The same procedure works without any changes when there is no retry error. I can’t get more information from the output that I could use to see what’s going on and why can my upload not be finalized.

It also works well with Amazon S3.

Please let me know what we need to do to be compatible with DigitalOcean Spaces.

Thank you!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Suddenly we are no longer running into this issue.

I’m asking support if they fixed anything or if we run into the issue randomly.