Gmail error - Precondition check failed

Describe the problem/error/question

I am trying to create an email draft through gmail node(afaik send email, read drafts, etc. give the same error) and i get the error. The api is connected through Service Account and is working fine for docs, sheets, etc., but just gmail seems to not be working. Also when i want to add From Alias Name or ID it says “Error fetching options from Gmail“

image

What is the error message (if any)?

Bad request - please check your parameters (item 0)
Precondition check failed.

Please share your workflow

Share the output returned by the last node

Bad request - please check your parameters (item 0)
Precondition check failed.
From Gmail:
Full message
{ “error”: { “code”: 400, “message”: “Precondition check failed.”, “errors”: [ { “message”: “Precondition check failed.”, “domain”: “global”, “reason”: “failedPrecondition” } ], “status”: “FAILED_PRECONDITION” } }
Other Info:
Item Index
0
Node type
n8n-nodes-base.gmail
Node version
2.1 (Latest)
n8n version
1.109.2 (Self Hosted)
Time
11/1/2025, 8:55:55 PM
Stack trace
NodeOperationError: Bad request - please check your parameters (item 0) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_1af219c3f47f2a1223ec4ccec249a974/node_modules/n8n-nodes-base/nodes/Google/Gmail/v2/GmailV2.node.ts:834:11) at processTicksAndRejections (node:internal/process/task_queues:105:5) at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1253:8) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1427:11) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1727:27 at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2303:11

Information on your n8n setup

  • n8n version: 1.109.2
  • Running n8n via: locally hosted through docker destkop
  • Operating system: Linux Mint

Hi @Seal

I had a similar issue.

I came to “Credentials” clicked gmail credentials and clicked connect to renew connection. After this process:

Try to renew connection between your n8n and gmail as it is described above

Hi,

The “Error fetching options from Gmail” and “Precondition check failed” error usually occurs when using a Service Account because it needs special permissions to act on behalf of a user.

To fix this, please follow these steps:

  1. Enable Domain-Wide Delegation: Go to your Google Workspace Admin Console > Security > API Controls > Domain-wide Delegation.

  2. Add a New API Client:

  3. Update n8n Credentials: In your n8n Service Account credentials, make sure to enter the email address you want to send from in the “Impersonate a User” field.

Please note that these changes in Google Workspace can sometimes take a little while to activate. Hope this solves your problem

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!