Rebar by curve node not working but rebar by container is working on same script.
could you please provide some additional information? Please see this FAQ for some ideas: How to get help on the Dynamo forums
Are you working with Revit 2019 ?
You may have a look at this thread already created for the problem that you are facing. Everybody is waiting to get the package to update from the package owner to work with Revit 2019.