Google Vertex LLM does not work with Agent AI

When entering the credentials to use Google Vertex with the Agent AI - Tools Agent node, and even after validating the credentials, an error appears:

Error: error:1E08010C:DECODER routines::unsupported at Sign.sign (node:internal/crypto/sig:128:29) at Object.sign (/usr/local/lib/node_modules/n8n/node_modules/jwa/index.js:152:45) at Object.jwsSign [as sign] (/usr/local/lib/node_modules/n8n/node_modules/jws/lib/sign-stream.js:32:24) at GoogleToken.requestToken (/usr/local/lib/node_modules/n8n/node_modules/gtoken/build/src/index.js:232:31) at GoogleToken.getTokenAsyncInner (/usr/local/lib/node_modules/n8n/node_modules/gtoken/build/src/index.js:166:21) at GoogleToken.getTokenAsync (/usr/local/lib/node_modules/n8n/node_modules/gtoken/build/src/index.js:145:55) at GoogleToken.getToken (/usr/local/lib/node_modules/n8n/node_modules/gtoken/build/src/index.js:97:21) at JWT.refreshTokenNoCache (/usr/local/lib/node_modules/n8n/node_modules/google-auth-library/build/src/auth/jwtclient.js:172:36) at JWT.refreshToken (/usr/local/lib/node_modules/n8n/node_modules/google-auth-library/build/src/auth/oauth2client.js:153:24) at JWT.getRequestMetadataAsync (/usr/local/lib/node_modules/n8n/node_modules/google-auth-library/build/src/auth/oauth2client.js:298:28) at JWT.getRequestMetadataAsync (/usr/local/lib/node_modules/n8n/node_modules/google-auth-library/build/src/auth/jwtclient.js:94:26) at JWT.requestAsync (/usr/local/lib/node_modules/n8n/node_modules/google-auth-library/build/src/auth/oauth2client.js:371:34) at JWT.request (/usr/local/lib/node_modules/n8n/node_modules/google-auth-library/build/src/auth/oauth2client.js:365:25) at GoogleAuth.request (/usr/local/lib/node_modules/n8n/node_modules/google-auth-library/build/src/auth/googleauth.js:678:23) at GAuthClient.request (/usr/local/lib/node_modules/n8n/node_modules/@langchain/google-gauth/dist/auth.cjs:41:25)

  • **n8n version:**1.55.1
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**n8n cloud
  • **Operating system:**Windows 11

Hey @Igor_Santos,

We are aware of this and will hopefully have it fixed soon, you can follow the status in the issue below.

@Jon Was this solved? I got the same errors yesternight with te Vertex node

Having this too.

SOLUTION is here error:1E08010C:DECODER routines::unsupported when using Google Cloud Service Account · Issue #10347 · n8n-io/n8n · GitHub

This is a problem related to new lines inside the key. I managed to fix the error by switching the key format input type to “expression”

1 Like

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