Gmail oauth2 error

Hello,
I can connect 1 Gmail account via n8n and it works great, but I have another account that refuses to connect. I’ve accepted permissions & confirmed that Gmail has them as “approved”

Here’s the error:
{
“errorMessage”: “Cannot read properties of undefined (reading ‘includes’)”,
“errorDetails”: {},
“n8nDetails”: {
“n8nVersion”: “1.72.1 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“TypeError: Cannot read properties of undefined (reading ‘includes’)”,
" at PollContext.poll (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Gmail/GmailTrigger.node.js:257:50)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:760:32)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:724:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1155:20"
]
}
}

Edits: I have integrated this email account with other services, like Zapier for example and it has worked fine.
The account that is working gets this when doing oauth2 the one that is failing doesn’t.
the gmail node for “Get Many” works.
image

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

1.72.1 (Cloud)
Default process
Running Via Cloud
OS Windows

hi @Cameron_Dixon

Welcome to the community! can you try with a third account? if that works then it’s probably something with that specific account on google’s side.

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