Hello, I just concluded the level 2 of the n8n course but am having a persistent challenge. The error workflow is passing the data successfully to the discord server yet i keep getting this message “Your message was invalid, Please make sure you are sending the exact text requested.” Can anyone help with this?
“Your message was invalid, Please make sure you are sending the exact text requested.”
Thanks Tammy. Actually it’s not an error in the workflow. It’s related to the last section of the Level 2 course. I had done the exam but I realized that I keep getting an error that says it’s not an error, but a message that says your message was invalid. Please make sure you are sending the exact text requested.
However the output is being outputted to the Discord server so it’s not an anything problem but I think it has to do with the Discord server which acts like an HTTP request node. That’s actually the challenge I’m having.
1- please share your course ID
2- to complete the course you need to pass both the test and the workflow
3- share your JSON (copy and paste your flow here please)
I need to understand visually what’s actually happening.
That “message was invalid, please make sure you are sending the exact text requested” error is not coming from n8n, it is coming from Discord rejecting the payload shape. Your error workflow is firing and reaching Discord, which is the hard part done, so this is just the message format.
Two usual causes. If you are using the Discord node in webhook mode, the content field has a hard limit (2000 characters), and an error workflow that dumps the full error object plus stack trace blows past it, so Discord rejects the whole thing. Trim what you send: just the workflow name, the failed node, and the error message, not the entire execution JSON. Second, if you built the request manually with an HTTP Request node, Discord needs the body as JSON with a content property ({ “content”: “your text” }), and a mismatch there throws exactly this. Check whether you are sending raw text where it expects that JSON shape.
Send the part of your error workflow that builds the Discord message and it is usually obvious which of the two it is.
Did you check for any whitespace, I don’t know if its supposed to be there but I see an ‘\n’ in the Discord message, even a whitespace here and there can give that error.
you need to send the message to discord.
please check the course documentation and follow the step-by-step instructions to complete the course.
access the n8n discord for your user to be recognized, then run the workflow.
you’ll need to have checkmarks ok in all 3 fields in the image.
let us know afterwards if it worked.
hello, good morning @Efe_Odjada1
i recommend starting over to understand what’s happening, since it’s a learning flow the ideal is for you to try on your own.