Obtain error message from subworkflow

Describe the problem/error/question

If a subworkflow in a subworkflow ( 2 layers deep) errors, and the main workflow that executed both has “Continue using error output” activated, it never gives out the actual error message.
For example this was my actual errror which happend in the subworkflow:
Cannot publish workflow: Node “sub=pmc-005-emailToTicket-casavi-mainflow(MANUAL)/” references workflow GL6KyMx2v0CclKHQ (“pmc-005-emailToTicket-casavi-archiveEmailSub(MANUAL)”) which is not published. Please publish all referenced sub-workflows first.

But the one that showed up in the “top” workflow 2 layers above is this " request - please check your parameters"

THis doesnt tell me anything and now i have to start digging. Is there any way around this?
I need to have the error in the execution to display it in a form. It’s a form based workflow that shows errors

This doesn’t happen if the subworkflow only goes “1 layer deep” (so just the main-workflow executing a subworkflow)

Hi @JonathanTAU, welcome!

This is working as expected if the first Call My Sub-workflow node is configuredwith On Error>Continue (using error output) AND the second (nested) Call My Sub-workflow is configured with On Error>Stop Workflow, here is a sample:

the issue is likely caused by configuring BOTH Call My Sub-workflow nodes with On Error>Continue (using error output)

In that case, yes at the main workflow level you won’t receive the actual error message (this might even be a bug),

However, the interesting part is that if you configure the first Call My Sub-workflow node with On Error>Stop Workflow, you will get the error:

I hope this explanation is clear and helps clarify the behavior…

I have the same problem, cannot publish because I have workflows that are published.. it seems a bug

—>update:
I solved reselecting the workflow. It seems that after uploading the workflow on n8n I was saving the wrong workflow id