Merge Append Issue (1 input is empty)

Hi, i have an issue with merge append module. Before it I use switch module, so only one input will execute. Then I want to append them together.
If the 1. input is not empty and only the 2 is empty the module will execute without an error, but when data arrives only in 2. input then there is an error.
error:
Paired item references non-existent branch
Item 0 in node Merge references a branch that doesn’t exist.



Hey @vitek.cej

If I understand correctly you’re using a switch node.

Can the switch node matches two cases as the same time ?
Switch node is like an if node so your data is going in one path and the merge is getting technically one i input.

What do you have in the case node ?

Jm

I already resolved it, there is no need to put merge node so i pluged them both into the last gmail node and it is working.

Thanks for fast response :blush:

I met the same problem causing me crazy. Thanks for the solution!
However I wonder why using switch code will cause this problem. Is it the node self problem?

Hey @vitek.cej ,

I think what you needed is the Aggregate node not the merge node.

And @edenseeker

The problem is not the switch node it depends on your use case.
And which solution are you referring to?

Jm

2 Likes

Hey @mrrobot,what I referred is deleting the merge node as @vitek.cej wrote.

I tried to use your instruction, and it’s also working. Great advice and thanks!

@edenseeker Thanks for testing you can like the comment that would help other people find the solution
Cheers

1 Like