Cannot Delete image from bucket
See original GitHub issueHello dears, i have 2 days trying to delete an image from the bucket 1- the bucket is private 2- the bucket name is => images 3- i try multiple things and all fails
here is my code used to delete the image:
deleteImage(bucked: string, imageId: string) {
return this.supabaseConfig
.getSupabaseClient()
.storage.from(bucked)
.remove([${imageId}
]);
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Cannot delete image from aws s3 bucket - Stack Overflow
I want to delete one of the images stored in the AWS S3 bucket by express.js, but I am facing an issue. Below...
Read more >Deleting a bucket - Amazon Simple Storage Service
Make sure the bucket is empty – You can only delete buckets that don't have any objects in them. · s3:DeleteBucket permissions –...
Read more >Troubleshoot failed request to delete an Amazon S3 bucket
1. Open the Amazon S3 console. · 2. Open the bucket that you want to delete by choosing the bucket's name. · 3....
Read more >Removed image from node, but not removed from bucket nor ...
The problem is that when I remove the image and save the node, it does not delete it from the bucket. I did...
Read more >Can't delete file on amazon S3 - Laracasts
Hi to all... I'm unable to delete file con Amazon S3. With this code: Storage::disk('s3')->put($path, $contents); I'm able to copy file on Amazon...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Are you using the anon key or service key here @ahmedabdelhafez? if you are using the anon key, you may need to allow access by adding the right RLS policies in your dashboard
Feel free to re-open when providing more details