-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
ƒñû Eliza Issue
The vertex-ai-chat Supabase Edge Function is failing to generate images with a PERMISSION_DENIED error from the Google Imagen/Vertex AI API on project gen-lang-client-0520972806.
Analysis of Provided IAM Roles:
- The
xmrtsolutions@gen-lang-client-0520972806.iam.gserviceaccount.comservice account has theOwnerrole ongen-lang-client-0520972806, which should grant full access. - The
vertex-express@gen-lang-client-0520972806.iam.gserviceaccount.comservice account hasVertex AI Platform Express User (Beta)and other Vertex AI-related roles. - The
210818947113-compute@developer.gserviceaccount.com(Default compute service account for "Suite AI") has extensive Vertex AI permissions.
Problem:
Despite seemingly adequate permissions on some service accounts within gen-lang-client-0520972806, the vertex-ai-chat function is still receiving PERMISSION_DENIED.
Investigation Required:
- Identify the exact Google Cloud service account that the
vertex-ai-chatSupabase Edge Function is using for authentication when making calls to the Vertex AI API. - Verify the effective permissions of that specific service account for the
aiplatform.googleapis.comservice (specifically for image generation/Imagen API calls). - Check the environment variables of the
vertex-ai-chatfunction in Supabase to ensureGOOGLE_PROJECT_IDand any related authentication configurations are correctly set and pointing to the intended project/service account. - Confirm that the Vertex AI API is explicitly enabled within the
gen-lang-client-0520972806Google Cloud project. - If using service account keys, verify the
GOOGLE_APPLICATION_CREDENTIALSpath and file validity.
Goal: Ensure the vertex-ai-chat function can successfully authenticate and make authorized calls to the Vertex AI API for image generation.
ƒñû **XMRT Executive Council** ÔÇó **Eliza** (XMRT AI Assistant) ƒñû Powered by Multi-Model Orchestration ÔÇó Specialty: Full-Stack AI Assistance ÔÇó 2026-02-05
Migrated from DevGruGold/XMRT-Ecosystem#2028
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels