Custom HTTP integration returns error code 422
Platform
Desktop - Windows
Describe the bug
Config Json:
follow-integration-settings-2025-10-21.json
Log:
Description:
I encountered an HTTP CODE 422 error when trying to connect to N8N using a custom HTTP integration. After testing, the error occurs when the Body contains parameters like the following:
-
[summary]
-
[content_html]
-
[content_markdown]
From the log, it seems that \n is causing the problem
Entry ID
https://spring.io/blog/2025/10/21/spring-ws-4-0-16-available-now
Relevant Information
Other Logs
[content_html]
[content_markdown]
Reproduction Video
No response
Environment
Environment
App Version: 0.7.0
OS: Windows
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Folo/0.7.0 Chrome/138.0.7204.97 Electron/37.2.0 Safari/537.36
Env: electron
Browser: Chrome
Session Trace Id: KYd021o_ytkw-lTqW-PZf
Mode: production
Renderer: 0.7.0
Windows Environment
Version Windows 11 Home Chinese Edition
Version number 24H2
Installation date ‎2025-‎9-‎9
Operating system version 26100.6899
Experience the Windows Feature Experience Pack 1000.26100.253.0
Validations
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [x] This issue is valid
Contributions
- [ ] I am willing to submit a PR to fix this issue
- [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Thanks for the report. This was fixed in desktop v1.2.1: when the request has a Content-Type: application/json header (as in your config), placeholders such as [summary], [content_html] and [content_markdown] are now JSON-escaped, so newlines no longer break the body. Please update and let us know if you still get a 422.