n8n HTTP POST to api.follow.is returns 400 (“{}”); JSON body not accepted
Platform
Desktop - macOS
Describe the bug
Hello Folo Team,
I’m trying to push content into my Folo inbox via HTTP as per the Webhook docs, but the server consistently returns 400. Could you please help diagnose?
Context
- Goal: Push a test item into my Folo inbox
- Endpoint: POST https://api.follow.is/
- X-Follow-Handle: [[email protected]](mailto:[email protected])
- X-Follow-Secret: FkqSR66lKq_l1eGymDkO6
- Client: n8n v1.107.3 (self‑hosted)
Error observed
- n8n error summary:
- errorMessage: "Bad request - please check your parameters"
- errorDescription: "400 - "{}""
- httpCode: "400"
- When body validation fails locally in n8n:
- "JSON parameter needs to be valid JSON"
Requests I sent (two reproducible cases)
- cURL (Windows quoting; Mac/Linux equivalent works with single quotes)
curl -X POST "https://api.follow.is/" ^
-H "Content-Type: application/json" ^
-H "X-Follow-Handle: [[email protected]](mailto:[email protected])" ^
-H "X-Follow-Secret: FkqSR66lKq_l1eGymDkO6" ^
-d "{"guid":"demo-2025-10-25-063700Z","publishedAt":"2025-10-25T06:37:00Z","title":"Minimal test","url":"https://example.com/","content":"hello","language":"zh-CN","categories":["test"]}"
- n8n HTTP Request node
- Method: POST
- URL: https://api.follow.is/
- Headers: Content-Type=application/json; [[email protected]](mailto:[email protected]); X-Follow-Secret=FkqSR66lKq_l1eGymDkO6
- Send Body: ON; Body type: JSON
- Raw JSON (single line):
{"guid":"demo-2025-10-25-063800Z","publishedAt":"2025-10-25T06:38:00Z","title":"Minimal test","url":"https://example.com/","content":"hello","language":"zh-CN","categories":["test"]}
Behavior
- Server responds 400 with body shown as "{}". It looks like the JSON body isn’t being accepted, or I may be missing a required field/format or using outdated endpoint/headers.
Questions
-
Is the endpoint and header usage (X-Follow-Handle / X-Follow-Secret) correct? Any newer/recommended hostname/path?
-
For WebhookPayload, are there mandatory fields or strict formats (e.g., publishedAt timezone/format, categories as array) that would trigger a 400?
-
Does the server intentionally return "{}" for invalid/empty bodies, and can more specific error details be surfaced?
-
Any constraints on body size, charset, or escaping (e.g., HTML/newlines in content)?
-
Is there a sample Postman collection or echo endpoint to verify requests?
I can provide full raw HTTP logs, timestamps, and request IDs if needed. Thanks for your help!
Best regards,
Changmao Lin
Email: [[email protected]](mailto:[email protected])
Time: 2025-10-25 14:36 (Asia/Shanghai)
Entry ID
No response
Relevant Information
No response
Reproduction Video
No response
Environment
No response
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!)
I found similar issues that might help:
- https://github.com/RSSNext/Folo/issues/4602 (similarity: 0.95)
这个bug还没修复么?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Has this bug not been fixed yet?
Thanks for the detailed report. The request is going to the API root; the webhook endpoint is POST https://api.follow.is/inboxes/webhook (see https://github.com/RSSNext/Folo/wiki/Inbox#webhooks), and X-Follow-Handle must be the bare inbox handle (the part before @follow.re), not the full address. Since your inbox secret is posted in this issue, you may also want to create a new inbox with a fresh secret.