ggArea - Solution exception: Object reference not set to an instance of an object

I’m not sure why I’m getting this error message. It only seems to be an issue for 2 out of 22 of the areas defined. I have checked that the curves create a closed loop. Any suggestions on how to fix?
Thanks!

As an additional note. If I generate the lines in Geometry Gym, I am able to convert the lines into an Area and Region manually in GSA. However when I attempted to mesh the region I got the following error message for each line:
Error: line 249: 'invalid step size.

Hi Natalie,

Can you please either post the gh script in question (with any required inputs) or send it to me privately so I can test this?

Thanks,

Jon