Skip to content

Removing an object from storage doesn't work #1674

@fede4rodriguez

Description

@fede4rodriguez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstorage-jsRelated to the storage-js library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions