Problem with creating a printpath

Hello
without a script it will be hard to help. There is probably a DataTree mismatch