Courses Level 2 - Error Handler - Discord Issue

Hi There,

My name is Thomas, I’m new here and enjoying folllowing the courses.
But Here I’m stuck.
I have created an Error Workflow, had no problem setting up a Gmail/Send message.
But it’s been hours that I am trying to set up a Discord node and failed after many many tries (most passed a JSON online checker).

The credentials I use are the same as per exercise 2 of Level 1 and it’s still working.

Here is my last try to set up the message expression value:

{
“message”: Warning: Workflow {{workflow.name}} error.\n\nAfter {{execution.retryOf}} executions in {{execution.mode}}, the node {{execution.lastNodeExecuted}} still crashes.\n\nHere are the error message and stack trace:\n{{ execution.error.message }}\n{{ execution.error.stack }}\n\nYour error handler.,
“channelId”: “{{964110271578791976}}”,
}

What’s wrong with me?
Please help.

Thomas

It looks like you’re using [[ ]] instead of {{ }} in your message which would be why the error is happening. Expressions in n8n are in double curly braces.

Thanks.
Problem solved.

Thomas

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