Target workflow may not be called

Issue

I have multiple workflows connected between each other. Everything used to work fine but, without changing anything, a few days ago the “Execute Workflow” module placed at the end of the first workflow of my sequence started triggering an error.

Error message

ERROR: Target workflow ID 41 may not be called

Details > Stack

SubworkflowOperationError: Target workflow ID 41 may not be called
    at Function.checkSubworkflowExecutePolicy (/usr/local/lib/node_modules/n8n/dist/UserManagement/PermissionChecker.js:83:30)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at executeWorkflow (/usr/local/lib/node_modules/n8n/dist/WorkflowExecuteAdditionalData.js:602:9)
    at Object.additionalData.executeWorkflow (/usr/local/lib/node_modules/n8n/dist/WorkflowRunnerProcess.js:149:56)
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ExecuteWorkflow/ExecuteWorkflow.node.js:159:34)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:659:28)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:585:53

Version

  • n8n version: 0.211.2

Welcome to the community @antoniosica !

Sorry to hear that you have problems. That we can help you and get a better understanding of that problem the information you deleted from the question template (how you run n8n) is however important. Can you please make sure to fill it in. Thanks!

Are you on a plan that includes sharing?

There is a permissions check when calling a child workflow and your child workflow settings may only allow certain parent workflows to call it.

Can you check this part of the settings on the child workflow?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.