Closed jonaustin09 closed 3 days ago
Describe the bug DeleteObject returns InternalError, when attempting to delete an object version with versionId. Server debug log:
InternalError
Internal Error, get obj versionId: xattr.get test/foo user.version-id: no such file or directory
To Reproduce
// create a bucket aws s3api create-bucket --bucket test // enable versioning aws s3api put-bucket-versioning --bucket test --versioning-configuration Status=Enabled // try to delete a non-existing object version aws s3api delete-object --bucket test --key foo --version-id non_existing_version_id
Expected behavior It should return InvalidArgument error.
InvalidArgument
An error occurred (InvalidArgument) when calling the DeleteObject operation: Invalid version id specified
Describe the bug DeleteObject returns
InternalError
, when attempting to delete an object version with versionId. Server debug log:To Reproduce
Expected behavior It should return
InvalidArgument
error.