I am trying to complete level 2 flow and having issue with the last node that needs to send a message to discord . I’ve spent the whole day today trying different syntax/options and I am still unable to get it to work. Any hints would be greatly appreciated!
THX!
Please share your workflow
Share the output returned by the last node
“message”:
“Your message is incorrectly formatted.”
JFYI , since I didn’t have the nerves to tackle this down, I went to the solution and created a new flow with the solution JSON workflow. I just changed the first 2 nodes (HTTP and Search records) so they have my credentials/ID’s → The flow is again failing on the last node ( Discord node ) with the same : “Your message is incorrectly formatted.” . Seems like an issue with the Discord node or what?
Thanks for any insights you might have!
have you tried to send a message with just one word “test” ? Does it work?
If so, then maybe there is an issue with the message format. Generally the brackets are not allowed to be sent in a cleartext. If it’s supposed to be a variable, then you should use an expression like {{ $json.ID }}
hello @barn4k yes, I did and got the same error, no matter the format or setting i try , I always get
“Your message is incorrectly formatted.” tried different syntax , with brackets and no brackets , with fixed or expression, nothing is working with me
I was also having same issue.
I forgot to change discord webhook-credentials(it was set for course-1)
you must have got new discord Discord URL after registering for course-2,
change it to the one you got in email and try again.
hope it will work
if it solves, do not forget to mark this response as solution
Hi @moosa unfortunately it’s not that , I did use the course 2 discord url and also created discord bot and bot token to try other methods to accomplish this, unfortunately no joy so far. I will raise bug for the n8n team later today and see what they say, as @voltag3 mentions above, seems like a lot of other ppl are facing the same issue.
Thx
Yes, please find a screenshot, jfyi the error today is different, I am not seeing the incorrectly formated messages but “cannot read properties” errors on my flow and on the solution flow with which I tested.I am attaching a screenshot from the “solution” flow:
I think it’s because your msg is not right. Can u try with the correct msg mentioned in that course . “I sent this file with label id. My id .. Follow the syntax correctly.
I appreciate you are trying to help but its not that, that was already tried with fixed and expression syntax before opening the forum topic and its already mentioned in the description, for your reference attaching screenshot.
Also worth to mention that the error now is different compared to the last 2 days. It changed from “incorrect message format” to “Cannot read properties of undefined data”. What I lastly tried was to create a new webhook with a wrong Discord URL, upon testing , the correct webhook and the wrong webhook, they both give the same error. I am suspecting there could be an issue with the discord URL i was provided upon registering to level 2 course.|
Same issue here, I’m on n8n 1.105.3, self hosted.
Didn’t know that course level 1 and level 2 need different registrations, so I also registered for level 2. With the Discord URL from the registration email for level 2 I also get:
Yes, I found a temporary solution. Due to the fact that messages from that workflow seem to arrive on the n8n discord channel, the issue can’t be located on the discord side.
As Navigating the editor UI | n8n Docs states that the course is based on n8n 1.82.1, I switched back my n8n instance to exactly that version.
I had to build the workflow again, because some of the nodes from the newer version I had before wouldn’t work.
With that version, the discord node worked as expected and I was able to finish the workflow.
So the problem resides in the discord node of newer n8n versions - but I can’t tell in which version the issue occurred for the first time.
I found the solution:
To fix the issue, make sure that the message has no extra commas or empty lines. These can cause formatting problems or invalid outputs in tools like n8n. Just one Line.