Problem with PostgreSQL Function Behavior: REST API via WeWeb vs. Direct Call via Supabase SQL Editor

Might this be RLS? Sounds to me like it works with postgres superuser, but not with authorized role