Sweep Shapes Along Compound Curve

I keep getting this error: