Google Drive node trigger error : ERROR: Cannot read properties of undefined (reading 'location')

Describe the problem/error/question

I have a Google Drive node to save a file in a specific folder.
Since friday, I have an error message.

What is the error message (if any)?

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/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js:90:51)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.router (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/v2/actions/router.js:48:41)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:698:19)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:656:53

Please share your workflow

Share the output returned by the last node

Capture d’écran 2024-01-22 à 09.46.37

Information on your n8n setup

  • **n8n version:1.24.1
  • **Running n8n via n8n cloud

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:
  • **n8n version:1.24.1
  • **Database (default: SQLite):default
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):default
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):n8n cloud
  • **Operating system:MAC OS 14.1.1 (23B81)

Hey @Alexandre_Bernard,

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.

For now to get you back up and running if you DM me your username I can downgrade your cloud instance to 1.22.6

1 Like

New version [email protected] got released which includes the GitHub PR 8417.

Hi @jan , Sorry I missed your last message. Thanks a lot for the fix and update !

1 Like

No problem @Alexandre_Bernard