<!-- Hey! The fastest way to find solutions is by using the 🔎 search function at the upper right.
If your question hasn't been asked before, please follow the template below. Skip the questions that are not relevant to you. -->
Describe the problem/error/question
I have a workflow that is reading emails with an .ics file attached, then eventually importing into Nextcloud calendar.
When I test the steps individually, they work fine. When I test the entire workflow, it fails at the Nextcloud step as the previous step doesn’t output the .ics at all.
I have an extract ics node that parses the ics content, then sends it to a Set node to format it for vcalendar. When I click on Execute step in the Set node edit window, the output is precisely how it should be.
Then in the http node for importing into Nextcloud, when I click on Execute step, the output is empty and the events show up in the Nextcloud calendar.
Then when I exit to the canvas and click on Execute workflow, it fails at the Nextcloud node. The Set node does not output the exact same ics file at all.
I added a Wait node 15 seconds to test if it was slow to process the ics. This didn’t help.
What is the error message (if any)?
This is from the Nextcloud http node.
{
“errorMessage”: “Your request is invalid or could not be processed by the service [item 0]”,
“errorDescription”: “\n<d:error xmlns:d=“DAV:” xmlns:s=“http://sabredav.org/ns\\”>\n <s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception>\n <s:message>This resource only supports valid iCalendar 2.0 data. Parse error: End of document reached prematurely</s:message>\n</d:error>\n”,
“errorDetails”: {
“rawErrorMessage”: [
“415 - “\n<d:error xmlns:d=\“DAV:\” xmlns:s=\“http://sabredav.org/ns\\\\\\”>\n <s:exception>Sabre\\DAV\\Exception\\UnsupportedMediaType</s:exception>\n <s:message>This resource only supports valid iCalendar 2.0 data. Parse error: End of document reached prematurely</s:message>\n</d:error>\n””
],
“httpCode”: “415”
},
“n8nDetails”: {
“nodeName”: “Send to Nextcloud”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4,
“itemIndex”: 0,
“time”: “24/09/2025, 12:46:04”,
“n8nVersion”: “1.112.5 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Your request is invalid or could not be processed by the service”,
" at ExecuteContext.execute (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:847:16)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at WorkflowExecute.executeNode (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1254:8)“,
" at WorkflowExecute.runNode (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1428:11)”,
" at /usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1761:27",
" at /usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2338:11"
]
}
}
Please share your workflow
Share the output returned by the last node
This is from the previous node, that is supposed to take the ics content and output it into the correct format. Again, Execute step, the output is perfect. Test workflow is when it fails.
[
{
"icsBody":
"\n"
},
{
"icsBody":
"\n"
}
]
Output when Execute step is run inside of the node:
[
{
"icsBody":
"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//n8n//\r\nCALSCALE:GREGORIAN\r\nBEGIN:VEVENT\r\nUID:1758739796435@n8n-test\r\nSUMMARY:notrealsubjectline\r\nDESCRIPTION: Appointment Summary : Booking ID : BL-22373 Service Info : Service Name : notreal\r\nLOCATION:notreal.zohobookings.com/#/customer/4155908000004023002/invoice/458155ede65f86dd2757d3db734b69a0bb63a67e574c1ae963ecb4eeeed6d2b8\r\nDTSTART:20250925T220000Z\r\nDTEND:20250925T223000Z\r\nDTSTAMP:20250923T174325Z\r\nSTATUS:CONFIRMED\r\nEND:VEVENT\r\nEND:VCALENDAR\n"
},
{
"icsBody":
"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//n8n//\r\nCALSCALE:GREGORIAN\r\nBEGIN:VEVENT\r\nUID:1758739796438@n8n-test\r\nSUMMARY:notrealsubjectline\r\nDESCRIPTION: Appointment Summary : Booking ID : BL-22378 Service Info : Service Name : notreal\r\nLOCATION:notreal.zohobookings.com/#/customer/4155908000004023002/invoice/f639df9063acad502091425a0fe0dc741e20bdb9a5cd7c6a86feab68c5398fea\r\nDTSTART:20250930T223000Z\r\nDTEND:20250930T230000Z\r\nDTSTAMP:20250924T004950Z\r\nSTATUS:CONFIRMED\r\nEND:VEVENT\r\nEND:VCALENDAR\n"
}
]
Information on your n8n setup
-
n8n version: 1.112.5 (Self Hosted) installed in a Proxmox LXC container from community scripts
-
Database (default: SQLite): SQLite
-
n8n EXECUTIONS_PROCESS setting (default: own, main): main?
-
Running n8n via (Docker, npm, n8n cloud, desktop app): Proxmox LXC installed from Proxmox VE Helper-Scripts
-
Operating system: Debian 12
I forgot to mention that I hard refreshed the browser, logged out and in, tried different browsers, all failed. Did multiple combinations of this to be sure.