Sendgrid PDF Attachement Issue: attachments.split is not a function

Describe the problem/error/question

I am getting the error when trying to send a PDF with sendgrid

Screenshot 2024-11-19 at 15.04.27

Please share your workflow

Screenshot 2024-11-19 at 15.04.41

Screenshot 2024-11-19 at 15.04.20

Information on your n8n setup

  • n8n version: Latest
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Linux

Hi @Andy-Slack

I am pretty sure you have to put in the binary name. so in this case just data

Thanks @BramKn I tried that but anything else I try gives this error

This operation expects the node's input data to contain a binary file 'Workflow Automation Proposal - Xero Draft Bill Repairer', but none was found [item 0]

Ah I missed the fact that u are reffering to a specific node. You need to make sure the input has the binary data in it.

1 Like

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