Supabase create bucket

Resolved

Hi everyone,

I am trying to import the following code into flutterflow, i have called the function newBucket:

I have obviously replaced the URL & supabasekey with my own. Instead of 'avatars' i am trying to define an argument 'resident' (string).

I am getting the following error:

Even when i just leave 'avatars' i still get this error...

If anyone could point me in the right direction that would be fantastic.

I Have been looking through the API docs, forums, github, pub.dev... where i found the following. but still no luck.https://pub.dev/documentation/storage_client/latest/storage_client/SupabaseStorageClient/createBucket.html

(i have created a policy on my storage.buckets just set to true for testing, but no luck...)

Community is my last try to hopefully find an answer. ๐Ÿ˜ฉ Not sure if anyone else has come across the same thing?

2
2 replies