Curve : ProjectCurveOntoPlane error


I inserted a 3D linestring from an alignment as a reference and generated a PolyLine from it using the PolyLine node, the problem is when i try to use ProjectCurveOntoPlane and use BaseCS.XYPlane as my Plane, i get an error saying check alignment of the curve, What I'm trying to achieve is to get a 2D projection of my 3D PolyLine.

I'm using GC from OBM.