-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting returns true, but file is not deleted #119
Comments
Hmm, that looks like it should work, I've been receiving issues with the |
I can confirm that this issue occurs. My upload works just fine as well. However, the delete callback returns My setup has as the region @ziks21 did you find a solution? |
I ended up using the AWS sdk method for this: S3.aws.deleteObject({
Bucket: 'bucket',
Key: 'objectKey'
}, function(err, data) {
if (err) {
console.log(err);
}
console.log(data);
}); The method deleted the object properly. However, it is important to notice, that the key which is passed as parameter, is relative to the root of the bucket. This differs from the way |
Hi @Lepozepo any updates on this issue? I still can't delete a file. |
Hi @Lepozepo, I cannot delete a file with S3.delete either. |
Hi @Lepozepo, I have same issue. The file is not deleted |
Hi Lepozepo. Firstly i want to say thank you for you awesome package
I successfully upload files using your package and store result in mongo db collection. Like this:
Then i use relative url from the mongo document to delete the file.
As a result i always receive true in response, but file is not deleted from s3 service.
Could you hint me where i'm wrong please
The text was updated successfully, but these errors were encountered: