Base64 images as Discord attachments

Can I use n8n to send a image as attachment message to a discord channel?
I’m having some trouble using the attachments section in the n8n discord node. Please, help!

I’m getting the following error:

“400 - {“attachments”:[“0”]}”

Hi @marcos.martinewski, this isn’t something the n8n Discord node supports at this stage I am afraid. I’ve shared my thoughts on using attachments in Discord here, but it will require quite a bit of investigation and possibly custom code on your end: In what format to specify the data for Discord - #5 by MutedJam

So you might be better off with hosting your images outside of Discord and then simply embed them via their URL instead.