Gmail execution works despite error

Hi Guys

This seems to be an issue related to how a binary file is fed from Drive to Gmail as an attachment.

I’m encouraged by the lead in that “No question is too stupid” and I’m probably in that category

Describe the problem/error/question

I have a workflow that is triggerred by a webhook then appends a Google Drive file (PDF) as an attachment and emails it back to the sender. After some work on the learning cure this now works (I get the attachment in my email account) but n8n reports that the execution has has an error.

image

What is the error message (if any)?

The error message says
" Cannot read properties of undefined (reading ‘split’) (item 0)"

Please share your workflow

Internal Error

**Error details**

 From Gmail
Full message

Cannot read properties of undefined (reading 'split') (item 0)
 Other info
Item Index

0

Node type

n8n-nodes-base.gmail

Node version

2.1 (Latest)

n8n version

1.57.0 (Self Hosted)

Time

9/16/2024, 10:23:30 AM

Stack trace

NodeOperationError: Cannot read properties of undefined (reading 'split') (item 0) at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Gmail/v2/GmailV2.node.js:549:23) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:42) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:66 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1104:20

(Sorry but I cannot figure out how to place this screen image)

Information on your n8n setup

  • n8n version: 1.57.0
  • Database : SQLLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):**
  • Running n8n via Docker
  • Operating system:Ubuntu 22.04

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:

Hey @Alan57,

That is odd, Can you try updating and see if it helps we recently reverted a change to prevent “internal error” from coming up.

Hi @Jon

Thanks for your response.

The node stil shows an error.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.