Error when creating rebar following PolyCurves

Hi,
I think you need to Join the curves using “Polycurve.ByJoinedCurves” and also see this topic it might help you Setting rebar container dimensions in Dynamo (Dynamo for Rebar)