Problem when using Upload file

Description

Error when running a function “Upload file” with supabase

  1. Everything was working fine a few days ago !
  2. Now, when I’m running my function I have this error :
    insert into “objects” (“bucket_id”, “metadata”, “name”, “owner”, “owner_id”, “user_metadata”, “version”) values ($1, DEFAULT, $2, $3, $4, DEFAULT, $5) on conflict (“name”, “bucket_id”) do update set “version” = $6,“owner” = $7,“owner_id” = $8 returning * - invalid input syntax for type uuid: “profile-pictures”"

My goal is to upload a profile picture into my bucket called profile-pictures.

Any suggestions ?

Thank you very much

Hi @abarbier804

Could you share your setup in Wized as well as the supabase one - I’d like to confirm both are setup well from the first look

With supabase help, I finally solved this issue! it was due to a tricky intrication of RLS policy on my storage database. Thanks for your help

1 Like