Level 2 - Workflow 3 - Encountering error messaage

Describe the problem/error/question

When attempting to send the message to Discord via the Discord node, I’m encountering an error stating : “Your message was invalid, Please make sure you are sending the exact text requested”. I have tested sending this message to my own personal Discord server and it’s successful, but cannot send it to the course-level-2 channel on the n8n Discord server.

Message format being sent:

The workflow {{ $json.workflow.name }} failed, with the error message:{{ $json.execution.error.message }}. Last node executed:{{ $json.execution.lastNodeExecuted }}. Check this workflow execution here:{{ $json.execution.url }}. My unique ID: 0a9b07fdf52cd514dc956dc0b39ae629

What is the error message (if any)?

“Your message was invalid, Please make sure you are sending the exact text requested.”

Please share your workflow

Share the output returned by the last node

“Your message was invalid, Please make sure you are sending the exact text requested.”

Information on your n8n setup

  • n8n version: 1.123.14
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n Cloud
  • Operating system:
1 Like

This isn’t an n8n issue it’s Discord-side validation on that specific channel.

The n8n Discord server (including course-level-2) has strict message rules enabled by bots/moderation:

  • Messages may require a specific format

  • Some channels block raw URLs, long strings, or unescaped characters

  • Automated/bot messages are often restricted unless they match expected patterns

That’s why:

  • :white_check_mark: Same message works in your personal server

  • :cross_mark: Fails only in the n8n Discord channel

Things to try:

  1. Shorten the message (remove the execution URL and long ID)

  2. Wrap variables in code blocks or plain text (no inline links)

  3. Send only the error summary, not the full execution payload

  4. Check if that channel allows bot/webhook messages at all

Example safer format:

Workflow {{ $json.workflow.name }} failed.
Error: {{ $json.execution.error.message }}
Last node: {{ $json.execution.lastNodeExecuted }}

If it still fails, it’s likely the channel does not allow external bot posts, which Discord will reject with that exact error.

Happy to help you trim the message to a format that passes their rules if you want.

[email protected]

1 Like

I tried both formats

Workflow {{ $json.workflow.name }} failed.
Error: {{ $json.execution.error.message }}
Last node: {{ $json.execution.lastNodeExecuted }}

and this:

The workflow {{ $json.workflow.name }} failed, with the error message: {{ $json.execution.error.message }}. Last node executed: {{ $json.execution.lastNodeExecuted }}. Check this workflow execution here: {{ $json.execution.url }} My Unique ID: 659a773970fcae8b503b4135af8e67d0

Both of them are not working and I’m not able to complete the level 2 course.

I can help you with this you’re not doing anything wrong here.

What’s tripping you up isn’t the text itself, but where you’re sending it. The course-level-2 channel on the n8n Discord has stricter validation than personal servers. It will reject messages that contain:

  • Certain dynamic values that resolve to null or undefined

  • Long concatenated strings without line breaks

  • URLs or IDs when they’re not explicitly requested by the exercise

That’s why the exact same message works on your own server but fails in the course channel.

I can help you:

  • Adjust the message format so it matches what the course validator expects

  • Safely guard against empty values like execution.error.message

  • Get a version that passes the Level 2 check without blocking your progress

If you want, share the exact trigger node you’re using for this workflow (Error Trigger vs regular trigger), and I’ll tell you exactly what to change so you can complete the course.

[email protected]

@marcusdiddle you can now post it directly like this:

I sent the file using email with the label ID {{ $json.labelIds }}. My ID: 092e549fc7eef931eca440818e1c4339

Does this help?

@JohnHalex the “I sent the file using email” portion is from Level 2 - Workflow 2 section of the training, that portion worked fine. The portion I’m working on is “Level 2 - Workflow 3” which is sending a message to the n8n Discord via an Error Workflow, which is not working.

@Azeezat Appreciate the additional advice, but nothing I try is working. While I understand that this channel perhaps doesn’t allow external bot posts, this is n8n’s own training, sending messages to n8n’s own Discord channel. So I would have expected this to work as part of the training. As it stands, I’m not able to complete the Level 2 course without completing this final exercise, which doesn’t seem to be able to be completed. Surely others have had this same issue while attempting the same course?

You don’t have to send the message. Just verify yourself with your unique ID and the link you’ve received in the mail after completing the questionnaire 14/15 is enough to pass

1 Like

@GregorPalyan Thanks for the advice. I was hung up on getting this final message to send, which it just won’t do. I’d already completed and passed the quiz. I used the “verify” link in the email I received after the quiz, and it now does look like I’ve been credited for completing the level 2 course. Thanks so much for the advice!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.