Get location for an element

I am trying to get the lacation for an Element (section) but can not work with node Getlocation and always have this warning.
Warning: Element.GetLocation operation failed.
The location of the structural element is not a valid curve.

You can use the Element LocationCurve node from the Genius Loci package.