Hi,
I'm trying to call the Google Vertex AI Gemini API (e.g., gemini-1.5-pro or gemini-1.0-pro-vision-latest) from n8n using a Google Service Account credential, but I'm stuck on authentication/permission errors.
The Problem:
Context:
It seems there's an issue with how n8n Cloud handles the Google Service Account credential in this version, either during saving with the full JSON or during the actual authentication request when saved with only the key block. How can I resolve this to successfully call the Vertex AI API?
Thanks!
Marko
To isolate the issue, I tested the authentication outside of n8n using the Google Cloud SDK command line:
This seems to confirm the Service Account key and basic GCP permissions are working correctly outside n8n, but the API call still fails when initiated from the n8n Cloud environment, even with direct token authentication.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |