→ When I try to insert the summary of my PDF into Google Docs via n8n, the text does not appear. Instead, I get the following error:
“errorMessage”: “Bad request - please check your parameters”,
“errorDescription”: “Invalid requests[0].insertText: Insert text requests must specify text to insert.”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - {“error”:{“code”:400,“message”:“Invalid requests[0].insertText: Insert text requests must specify text to insert.”,“status”:“INVALID_ARGUMENT”}}”
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “Update a document”,
“nodeType”: “n8n-nodes-base.googleDocs”,
“nodeVersion”: 2,
“resource”: “document”,
“operation”: “update”,
“time”: “8/31/2025, 8:47:01 PM”,
“n8nVersion”: “1.108.2 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.googleApiRequest (/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/Docs/GenericFunctions.ts:53:9)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" 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/Docs/GoogleDocs.node.ts:493:22)“,
" 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:1212:9)”,
" 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:1582: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:2158:11"
]
}
}
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.){
"nodes": [
{
"parameters": {
"operation": "update",
"documentURL": "1Z0aPxPPWHJQRqwoWr0z_C3tUbW6NsS1c1tBrR0WIHmY",
"actionsUi": {
"actionFields": [
{
"action": "insert",
"insertSegment": "={{$json[\"textToInsert\"]}}\n",
"text": "="
}
]
}
},
"type": "n8n-nodes-base.googleDocs",
"typeVersion": 2,
"position": [
832,
-368
],
"id": "e0717e0f-8fce-4c27-972c-f7dd148c8b32",
"name": "Update a document",
"executeOnce": false,
"credentials": {
"googleDocsOAuth2Api": {
"id": "4kZCWC1rwsbsRH62",
"name": "Google Docs account"
}
}
}
],
"connections": {},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "6ed8144fe00d1f83acfdefc9c9795dc05a2083e9f83510bdef3537a50375f33b"
}
}
Share the output returned by the last node
{“errorMessage”: “Bad request - please check your parameters”,
“errorDescription”: “Invalid requests[0].insertText: Insert text requests must specify text to insert.”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - {“error”:{“code”:400,“message”:“Invalid requests[0].insertText: Insert text requests must specify text to insert.”,“status”:“INVALID_ARGUMENT”}}”
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “Update a document”,
“nodeType”: “n8n-nodes-base.googleDocs”,
“nodeVersion”: 2,
“resource”: “document”,
“operation”: “update”,
“time”: “8/31/2025, 8:47:01 PM”,
“n8nVersion”: “1.108.2 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.googleApiRequest (/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/Docs/GenericFunctions.ts:53:9)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" 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/Docs/GoogleDocs.node.ts:493:22)“,
" 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:1212:9)”,
" 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:1582: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:2158:11"
]
}
}
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: