Describe the problem/error/question
I create a RestAPI workflow, which was monolithic, but it was working.
To increase maintainability, I decided to split the workflow into a global RestAPI entrypoint and several sub-workflows, which are processing the requests. The global entrypoint contains a webhook request nodes per HTTP method and each of the uses a paramter for the endpoint, which is split in the next steps and then route the requests to the appropriate sub-workflows.
That’s working quite well so far, even if I haven’t split all the workflows right now. I am now facing the issue, that the outsourced workflow is working properly and returning the output data, except for one case.
If I check the executions of the sub-workflow, I can see, that the workflow was called and ended properly and the data have been generated for all three different routes in the sub workflow, as they should (see output below the workflow diagrams), but the “invalid corekey” route’s output data are not returned for some reason.
What is the error message (if any)?
No, message, I do not get data from the sub-workflow to the main workflow. The sub-workflow is running well, but it seems that data are not returned properly for all cases.
Please share your workflow
Main Workflow
Sub Workflow
Share the output returned by the last node
Output of the “JWT creation” route (returns data successfully):
[
{
"response_code": 200,
"response_data": {
"result": true,
"message": "Authentication of corekey successful.",
"data": {
"token": "eyJh...z77c2Rc"
}
}
}
]
Output of the working “invalid credentials” route (returns data successfully):
[
{
"response_code": 403,
"response_data": {
"result": false,
"message": "Invalid credentials",
"data": {}
}
}
]
Output of the working “invalid corekey” route (returns NO data, even they are valid):
[
{
"response_code": 403,
"response_data": {
"result": false,
"message": "Invalid corekey.",
"data": {}
}
}
]
Information on your n8n setup
- n8n version:1.104.1
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): No idea. Where can I find that information?
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: Linux











