I am trying to insert a file into a supabase public bucket, I've created basic policies to insert, select. when I try to upload a file though it returns
{
statusCode: '401',
error: 'Invalid JWT',
message: 'new row violates row-level security policy for table "objects"'
}
I've coverted the file to base64 format then decoded the data during upload, could the error be anything related to this? I've tried adding multiple policies to the bucket but to no avail