Getting Error in sub-node ‘Google Vertex Chat Model’ Publisher model projects/gen-lang-client-0401218359/locations/us-west2/publishers/google/models/gemini-2.0-flash
not found.
Gemini models are not available on the us-west2 location, but I don’t have an option to change or select the GCP location. Need to change it to us-central1 but I don’t see any option to do so?
Please share your workflow
Just testing it right now with the chat trigger and AI Agent
{
“nodes”: [
{
“parameters”: {
“public”: true,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.chatTrigger”,
“typeVersion”: 1.1,
“position”: [
-500,
0
],
“id”: “f9af9578-2f2a-4900-9ab4-fe621be6b338”,
“name”: “When chat message received”,
“webhookId”: “48269424-7eb0-40e5-9624-11cbbe3f6cee”
},
{
“parameters”: {
“options”: {
}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 1.9,
“position”: [
-80,
120
],
“id”: “2989164b-4c48-47bf-a269-4b171a6a9a5e”,
“name”: “AI Agent”
},
{
“parameters”: {
“projectId”: {
“__rl”: true,
“value”: “gen-lang-client-0401218359”,
“mode”: “list”,
“cachedResultName”: “Gemini API”
},
“modelName”: “gemini-2.5-pro-preview-05-06”,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatGoogleVertex”,
“typeVersion”: 1,
“position”: [
-80,
300
],
“id”: “631c4f26-f1a7-4f6a-8336-45d5c0ee3054”,
“name”: “Google Vertex Chat Model”,
“credentials”: {
“googleApi”: {
}
}
}
],
“connections”: {
“When chat message received”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“Google Vertex Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “992a185125154ec1b9aab7e1ca25f76dff2589d3c4af79cb639ff5102c236194”
}
}