REST API unreliable when called from a Vercel edge function - Supabase