supabase/storage-js

Removing an object from storage doesn't work

fede4rodriguez opened this issue · 1 comments

Bug report

  • [ x] I confirm this is a bug with Supabase, not with my own application.
  • [ x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

when using .storage.from(bucketName).remove([imageFileName]) return an empty array in data and null in error

Screenshots

code with logs:

Captura de pantalla 2023-09-20 153104

request and response:

Captura de pantalla 2023-09-20 153306
requests and response:

Captura de pantalla 2023-09-20 153323

policies:

Captura de pantalla 2023-09-20 153439
Captura de pantalla 2023-09-20 153535

showing that the file and bucket exist:

Captura de pantalla 2023-09-20 153407