This node is at the end of the flow, and it should write retrieved data on a sheet that was created earlier in the flow.
As shown on the screenshot, the sheet file ID is 1f-z_eY22mxJjPeRu5UDhZ-P6EWFBZ9cwbDflbeaN-uY
which reads correctly under ID field on this node.
The containing folder ID is 11WXxU9F86DBV92pkOuOP7sNAtOt3jo9a
Which as well can be found correctly on the schema along the flow.
But the error says Sheet with ID 1366469942 not found
and I can’t locate this number anywhere on the flow, where did it come from? and how to fix this error?
Thanks in advance to everyone who will take the time to answer.
{
"errorMessage": "Sheet with ID 1366469942 not found",
"errorDetails": {},
"n8nDetails": {
"nodeName": "Add Related KWs to GSheet",
"nodeType": "n8n-nodes-base.googleSheets",
"nodeVersion": 4.5,
"resource": "sheet",
"operation": "append",
"time": "3/1/2025, 2:32:04 PM",
"n8nVersion": "1.79.3 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"NodeOperationError: Sheet with ID 1366469942 not found",
" at GoogleSheet.spreadsheetGetSheet (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js:62:19)",
" at processTicksAndRejections (node:internal/process/task_queues:95:5)",
" at ExecuteContext.router (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/v2/actions/router.js:62:32)",
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/v2/GoogleSheetsV2.node.js:21:16)",
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:627:19)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:878:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1211:20"
]
}
}
- n8n version: 1.79.3 self hosted
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: ubuntu