Gogle node v3 introduces a bug when uploading with “changeFileContent” set to TRUE :
ERROR: Cannot read properties of undefined (reading ‘location’)
Details
Stack
TypeError: Cannot read properties of undefined (reading 'location')
at Object.execute (/usr/local/lib/node_modules/n8n/packages/nodes-base/dist/nodes/Google/Drive/v2/actions/file/update.operation.js:173:55)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.router (/usr/local/lib/node_modules/n8n/packages/nodes-base/dist/nodes/Google/Drive/v2/actions/router.js:48:41)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/packages/workflow/dist/Workflow.js:698:19)
at /usr/local/lib/node_modules/n8n/packages/core/dist/WorkflowExecute.js:656:53
Hi, I confirm the error on self-host Community Edition(docker, postgres). The setting is - N8N_DEFAULT_BINARY_DATA_MODE=filesystem . The problem does not exist on version 1.24.0, but if you switch to a more recent one, it appears. I checked on 1.25.0 and 1.25.1 there is an error.
I did not check on 1.24.1.
On cloud I can downgrade your version to pre 1.24.1 which is when I last updated the node. Drop me a DM with your cloud username and I will put your instance back to 1.22.6.
I have put in a PR to fix this which can be found below, Once reviewed and merged it will be available in a future release, This could be 1.25.2 if we do a fix build today or 1.26.0 later this week if we don’t.
On Cloud if you go to your dashboard (app.n8n.cloud/manage) there is an option to change the n8n version, You will need to select 1.26.0 (Latest Beta) and it will restart your instance and update it.