Storage API returns 0 buckets, but bucket exists in dashboard

Message:
Hi,
I’m having an issue with Storage in my project.
I have created a public bucket called inventory-images in the dashboard.
The bucket is visible in the dashboard and in the storage.buckets table via SQL.
I have set all the correct storage policies (INSERT, SELECT, UPDATE, DELETE).
My client is using the correct project URL and anon key.
When I use the Supabase JS client to list buckets (supabase.storage.listBuckets()), it returns 0 buckets.
I have restarted my server, hard-refreshed my browser, and tried in incognito mode.
I have waited over 10 minutes for propagation.
I also tried creating a new bucket, but the API still returns 0 buckets.
Is there a known issue or something else I should check?
Any help would be appreciated!
Thank you!
Was this page helpful?