Google Chat Node Works in Test Mode But Errors in Production Mode

Describe the problem/error/question

I am having an issue where the Google Chat node is working while using the test workflow, but whenever I activate the workflow and switch to production I receive an error stating ‘Node does not have any credentials set for “googleApi”’.

I am setup with oAuth2 and the workflow works flawlessly in test mode.

What is the error message (if any)?

‘Node does not have any credentials set for “googleApi”’

Please share your workflow

Node config

Share the output returned by the last node



Error Details:

{
  "errorMessage": "Node does not have any credentials set for \"googleApi\"",
  "errorDetails": {
    "rawErrorMessage": [
      "Node does not have any credentials set for \"googleApi\""
    ]
  },
  "n8nDetails": {
    "nodeName": "Google Chat",
    "nodeType": "n8n-nodes-base.googleChat",
    "nodeVersion": 1,
    "resource": "message",
    "operation": "create",
    "time": "2/14/2025, 9:26:13 AM",
    "n8nVersion": "1.78.0 (Self Hosted)",
    "binaryDataMode": "default",
    "stackTrace": [
      "NodeApiError: Node does not have any credentials set for \"googleApi\"",
      "    at ExecuteContext.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Chat/GenericFunctions.js:42:15)",
      "    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
      "    at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Chat/GoogleChat.node.js:239:40)",
      "    at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:632:19)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:872:51",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1206:20"
    ]
  }
}```

## Information on your n8n setup
- **n8n version:** : 1.78.0
- **Database (default: SQLite):** postgres
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** railway.app docker

Hey @leadbrain

Are you able to test this with a more recent version of n8n?

1.81.4 or newer