Polysurface fillet issues

I’m trying to create a surface fillet from Revit surfaces. The end result should look something similar to this.


However, I’m getting an error.

I also tried selecting the curves and filleting them with the intention to loft the two curves in Dynamo but also got an error. Obviously I can recreate all curves in Dynamo and use arcs instead of fillets, but I’m doing this in a iterative design process where it’s easier to draw the curves in Revit, select them in Dynamo and create the fillets there.

what is the error? Have you tried increasing or decreasing your desired radius? Have your tried filleting one edge?

The script was corrupted. After relaunching Dynamo and recreating the script, everything worked perfectly.