I’m having problem with sending messages to discord. All my settings are correct. but i got each time a response of that (Your message was invalid, Please make sure you are sending the exact text requested.)
Can anyone help with this please!!!
Welcome @altruistic-camel
Could you share your discord node configuration?
To compare with documentation, you can find a simple exemple for discord node in the first n8n course : Notifying the team | n8n Docs
{
“nodes”: [
{
“parameters”: {
“authentication”: “webhook”,
“content”: “={ 'I sent the file using email with the label ID ’ + $json.id + ‘. My ID: 1b9d27ceef3c21dacfb51286f1e510d0’ }”,
“options”: {}
},
“type”: “n8n-nodes-base.discord”,
“typeVersion”: 2,
“position”: [
976,
-96
],
“id”: ,
“name”: “Discord”,
“webhookId”: ",
“credentials”: {
“i”: {
“id”: "
“name”: “Discord Webhook account 2”
}
}
}
],
“connections”: {},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “060ec84bef4ace20aa2bc4c51dfecad4d226de50b83a9c23cbf3ee3617e6617f”
}
}
@altruistic-camel
in the level 1 everything went wel, but on level 2 it didn’t.
thanks for your quick response ![]()
It seems to be related to the content message.
Make sure to use {{ }} around your expression + use the correct apostrophe symbol ‘
Your content message :
{ 'I sent the file using email with the label ID ’ + $json.id + ‘. My ID: 1b9d27ceef3c21dacfb51286f1e510d0’ }
what you should define :
{{ ‘I sent the file using email with the label ID ‘ + $json.id + ‘. My ID: 1b9d27ceef3c21dacfb51286f1e510d0’ }}
If you still face the issue, please send a screenshot and the expression you put in the message field
Hi, the first discord node is succeed
thanks to your solution,
But i’m still having issue with the second one, where i need to send a binary file. ![]()
And also with workflow 3 with error trigger connect to discord node. ![]()
Hi,
It seems to have an control on the text to be sent.
In your expression, add a space between ‘My ID:’ and your current ID
’My ID: <your_id>’
It should work like this!
Strange…
Here is my message content that works.
Try to copy/paste and test it :
{{ 'I created the spreadsheet ’ + $binary.data.fileName + ‘. My ID: 04f8d076550b2517ab0b57cf5c16b364’}}
Yes, I don’t know why but all apostrophe changes when paste from this blog.
Retype all apostrophes with your keyboard on the expression pasted and it should be fine.
Hello,
I am having the exact same problem. I tried using the exact message proposed but it still doesn’t work on workflow 2 and 3. Could you provide some help? ![]()
Regards
Hi @Nairo
Did you try to rewrite the apostrophes after pasted the message?





