The error explains what’s going on. The specType input requires a Revit.Elements.SpecType object and you gave it a string. I believe it worked before because specType wasn’t an input. Use a selection from the Spec Types node instead.
As an added FYI, if you hover over a node input it will give a brief description and the required input type (if there is one).
