The CompoundCurve input is not valid because it does not have enough points. A CompoundCurve must have at least two points. ...