Open webchaz opened 10 years ago
Check the response body
And status code
Status code is 204, how do I check the response body?
Well 204 means the body will be empty and S3 thinks it succeeded, so something else must be going on :(
Yeah, hm... Could there be settings in S3 that would prevent us from deleting?
I mean it could be permissions, but I would think that would give back an error status code... hard to say :(
Not sure it helps but: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#deleteObject-property "If there isn't a null version, Amazon S3 does not remove any objects."
did anyone figure this out? im having the same issue.
Hi, any news here guys? I just came up to this issue.
Make sure the path of the object is correct. And don't provide "folder" paths, S3 has no such concept. That was my mistake at least - trying to delete a "folder" (or rather, a prefix).
Using the following:
I receive no error (null), however when I access the full URL, the image is still available. Any idea why its not be deleting the file from s3?