Not sure what is going on with this error, but I get it randomly. It happens when opening a new script or an existing script. It isn’t the same script but any. I fix it by closing Revit and Dynamo, then reopening. Sometimes doing that a couple of times. This is also happing to another user. They have noticed that when they use the firms’ standard template it happens, could just be a coincidence. It seems to be random for me.
Let me know if I need to clarify anything.