[Solved] Node "must have a self pin connection"

I solved the issue. Input (the target) of a node inside the macro was accidentally left empty.