CONTAP-551675: Bug public information is not yet available.
Issue
When attempting to delete a non-existent directory (object key containing a forward slash) in the ONTAP object store via S3 API, ONTAP incorrectly returns an InternalServerError instead of a success response. The error does not occur when deleting a non-existent file (object key without a slash).
Example Log Output:aws delete-objects --deleteObjects=[{Key=doesnot/exist}]
{
"HttpStatus": 200,
"Result": {
"Errors": [
{
"Code": "InternalError",
"Key": "doesnot/exist",
"Message": "We encountered an internal error. Please try again."
}
]
}
}
Expected behavior for a non-existent file:aws delete-objects --deleteObjects=[{Key=doesnotexist}]
{
"HttpStatus": 200,
"Result": {
"Deleted": [
{
"Key": "doesnotexist"
}
]
}
}
