Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Storage .list() method not seem to be working #111

@thesyedbasim

Description

@thesyedbasim

Bug report

Describe the bug

The .list() method in supabase.storage.from('') is not seem to be working.

  • I have data in my storage bucket
  • There is no error shown, only empty data
  • Storage bucket has no RLS
  • The path is correct, I even tried the root path but it's still not working

To Reproduce

You can copy this snippet and add it to your code which is connected to supabase.

const { data, error } = await supabase.storage
	.from('images')
	.list(`products/${productId}`);

if (error) {
	console.error(error);
}

Expected behavior

List of all images should be returned.

System information

  • OS: Windows 10
  • Browser: Chrome
  • Version of supabase-js: 1.29.4
  • Version of Node.js: 16.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions