Error: Invalid depth in path: "$1" (tried to access a node above the root node)