Label.SetReferenceTextTarget is not recognizing the civilobject

Hello, Please someone could help me with this error ? The Label.SetReferenceTextTarget is not recognizing the civilobject cogopoint.

You feed the node Label.SetReferenceTextTarget from two different objects, have you tried to feed it from the same object?
Is there a reason that you did like that or is it by misstake?

Hi Patrick, thak you for the sugestion. The first input is the profile projection label and the third is the cogopoint that i need the info to be populated in label. I tried many ways but not sucesseful so i found this topic in the community that resolve my problem using code text in label fields that are not disponible but worked.

link: https://forums.autodesk.com/t5/civil-3d-forum/profile-projection-label-styles-adding-elements/td-p/6762878