Automattic / Automattic/knox

del and deleteFile not actually deleting

Open
#244 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.7k
Forks
283
PR merge metrics
No merged PRs in 30d

Description

Using the following:

```
var s3 = knox.createClient({
secure: true,
bucket: 'xxxx',
key: 'xxxx',
secret: 'xxxx'
});

s3.deleteFile('/249817_10150251832903474_4763491_n.1409099878932.jpg', function(err, res){
console.log(err);
});
```

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository file or test is named. Start at the deleteFile entry point, reproduce the shown JavaScript call against the S3 object, and inspect the callback response and object state. Done means identifying why the image remains available and documenting or verifying the expected deletion behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.