The type initializer for 'Autodesk.LibG.LibGPINVOKE' threw an exception

Did some research just now, the error could happen when using native Dynamo geometry library. Some GitHub responses suggest the problem is not reproducible in latest build of Dynamo…Seems like an update is your only option…

Same thing here, but solved with an upgrade.

GitHub discussion: