Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(n8n Form Trigger Node): Update error in validateResponseModeConfiguration (no-changelog) #13162

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

michael-radency
Copy link
Contributor

Summary

Update error message in validateResponseModeConfiguration since Respond To Webhook node is not supported in version 2.2 and higher

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-2301/form-trigger-throws-error-suggesting-a-mode-that-no-longer-exists

@michael-radency michael-radency added n8n team Authored by the n8n team node/issue Issue with a node labels Feb 10, 2025
@michael-radency michael-radency changed the title fix(n8n Form Trigger Node): Update error in validateResponseModeConfiguration fix(n8n Form Trigger Node): Update error in validateResponseModeConfiguration (no-changelog) Feb 10, 2025
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@@ -216,6 +220,19 @@ const validateResponseModeConfiguration = (context: IWebhookFunctions) => {
},
);
}

if (isRespondToWebhookConnected) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this have a version check? If responseMode == 'responseNode' and version is <= 2.1 it would always throw now, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/issue Issue with a node
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants