n8n - 💡(How to fix) Fix Discord Binary file

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Describe the problem/error/question

What is the error message (if any)?

  • error: all
RAW_BUFFERClick to expand / collapse

Describe the problem/error/question

When i send an image for file with discord node into a channel .... (use binary file)

What is the error message (if any)?

Problem in node ‘Send a message‘ The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received type boolean (false)

Please share your workflow/screenshots/recording

<img width="1268" height="454" alt="Image" src="https://github.com/user-attachments/assets/e3778db5-8300-483c-b65f-30717ca9724a" />

Debug info

core

  • n8nVersion: 2.16.2
  • platform: docker (self-hosted)
  • nodeJsVersion: 22.22.2
  • nodeEnv: undefined
  • database: postgres
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36
  • isTouchDevice: false

security

  • secureCookie: false

Generated at: 2026-04-20T16:17:06.369Z

extent analysis

TL;DR

The error can likely be fixed by ensuring the "chunk" argument in the 'Send a message' node is of type string or an instance of Buffer or Uint8Array, rather than a boolean value.

Guidance

  • Verify the data type of the image file being sent to the 'Send a message' node to ensure it is not being converted to a boolean value.
  • Check the workflow configuration to see if there are any nodes or functions that might be altering the data type of the image file.
  • Review the Discord node documentation to ensure that the image file is being passed in the correct format.
  • Consider adding a node to explicitly convert the image file to a Buffer or Uint8Array before passing it to the 'Send a message' node.

Example

No explicit code example can be provided without more information on the workflow configuration and nodes being used.

Notes

The error message suggests that the issue is with the data type of the "chunk" argument, but without more information on the workflow and nodes being used, it is difficult to provide a more specific solution.

Recommendation

Apply a workaround to ensure the "chunk" argument is of the correct data type, as the root cause of the issue is likely related to the workflow configuration rather than a version issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix Discord Binary file