Google Vertex Credentials

Describe the problem/error/question

I want to use Google Vertex as Model for my agent.
I’ve created a project, enabled Vertex AI API and Cloud Resource Manager API

In the Google Cloud CLI I’ve set the region for the project.

gcloud config set ai_platform/region europe-west3

Then I’ve read the n8n docs how to enter the credentials.
Followed every step until the json file has been downloaded.

  • Set the region to Europe (Frankfurt) - europe-west3
  • Entered the Service Account Email
  • I’ve copied the private_key many times into the field. With \n, without \n, with \n as new lines.

When click on save, the save button is testen endlessly.

In the console I can see the test run in a 500 error:
Cannot read properties of undefined (reading 'googleApiCredentialTest')

What is the error message (if any)?

error:1E08010C:DECODER routines::unsupported

Debug info

core

  • n8nVersion: 1.98.2
  • platform: docker (cloud)
  • nodeJsVersion: 22.16.0
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: community
  • consumerId: 00000000-0000-0000-0000-000000000000

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/137.0.0.0 safari/537.36
  • isTouchDevice: false

I resolved the problem by adding the private Key in an expression.

2 Likes

Can you show how you did it? I have a similar problem and have not been able to fix it.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.