Just updated to Revit 2020.2 along with the new Dynamo, and it gives me this problem with code blocks! The same goes for the Python node.
Alright! a simple restart solved the problem