R2 delete objects command does not delete objects

I am attempting to delete objects in R2 via the S3 protocol in the @aws-sdk/client-s3 package, using DeleteObjectsCommand. After I send the command, the response from Cloudflare is:

{"$metadata":{"httpStatusCode":200,"attempts":1,"totalRetryDelay":0},"Deleted": [{"Key":"/file/file.jpg"},{"Key":"/file/file2.jpg"}]}

However, the files aren’t deleted.

Does anyone know what’s going on? I assume if it responds with a status 200 and says “deleted” with the object keys, they should be deleted. But I went on to the dashboard and was able to see and download the files.

This is still an ongoing issue.

Is there any workaround to fixing this?

I use @aws-sdk/client-s3 and use DeleteObjectCommand. The response was success but after i check in the bucket dashboard it is not deleted. Any solution? Or is the deletion delayed?

Still an issue, using @aws-sdk/client-s3 package and DeleteObjectCommand the file is not deleted, does anyone have a workaround?