Creating rebar from curve get error "please refer to RebarHookOrientation..."

Hi everyone,

I’m following a tutorial step-by-step to create rebar from a curve using the Create.FromCurve node in Dynamo. I’ve carefully replicated everything as shown in the tutorial, but I keep encountering this error:

“Please refer to RebarHookOrientation. Parameter name: startHookOrientation.”
Does anyone know what might be causing this issue or how to resolve it?
Any help would be greatly appreciated. Many thanks in advance!