Rebar.ByCurve and Rebar Style errors

Yes it’s Revit 2019 too.