CivilConnection - Create Revit Families from Civil 3D Corridor

Hello everyone I have this script which I got from

When I try running the script it says ( Warning: Dictionary.ValueAtKey expects argument type(s) (DesignScript.Builtin.Dictionary, string), but was called with (var, string).)

2021.dwg (928.4 KB)

One with problem.dyn (26.4 KB)

I am trying to transfer the civil 3d corridor and make it as a family through this dynamo script but I am having this problem anyone knows how to solve it