I'm getting a NoSuchTagSetError error when using AWS CLI v2 to move data in Wasabi. Why?

Sometimes AWS CLI tries to fetch tagging from objects that do not have them when utilizing the 'mv' or 'sync' commands - this is a change from AWS CLI v1 to v2 and how it handles file properties. This error is seen when moving data from one bucket to another, or data within the same bucket but between different prefixes.

Wasabi does not currently support Object Tagging, so to ignore tagging in your command, add the --copy-props metadata-directive​ flag. This tells AWS CLI to not copy any tags, but to retain the rest of the metadata associated with the object:

Example:

aws s3 mv s3://mybucket/oldname.txt s3://mybucket/newname.txt --copy-props metadata-directive
    --endpoint-url=https://s3.wasabisys.com

For more information, please review the official AWS documentation available here: https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-s3-copy-metadata

Have more questions? Submit a request