Sometimes multipart uploads hang or don\'t complete for some reason. In that case you are stuck with orphaned parts that are tricky to remove. You can list them with:
You can alternatively use Minio Client aka mc It is Open Source and compatible with AWS S3.
To list all the incomplete upload on a associated bucket.
$ mc ls -I s3/mybucketname
To remove all incomplete uploads to a associated S3 bucket.
$ mc rm -I -r --force s3/mybucketname
I = incomplete r = recursive f = with force option
Hope it helps.
Disclaimer : I work for Minio.