supabase/supabase-dart

Status 404 with returned public url

bsnbu opened this issue · 2 comments

bsnbu commented

Hi all,

I'm trying to follow the official flutter guide and noticed that after updating the avatar the console logged the following error,
HTTP request failed, statusCode: 400, https://audittedsubdomain.supabase.co/storage/v1/object/public/avatars/add19f9a-5eae-4d05-9529-cdbb3acfa270.jpg
I noticed that the public url I got from the dashboard starts with https://audittedsubdomain.supabase.in instead of supbase.co, could this be the cause here?

Thank you!

Best regards.

Hi @bsnbu ! Thank you so much for opening an issue for this.

Do you have an example of working public URL? I changed the URL you provided to supabase.in like this, but couldn't load image.

Also, could you confirm that the bucket you are using is set to public?
Screen Shot 2022-03-23 at 19 02 20

Closing as inactive.