Per the error add a Type to the Families that are receiving the the parameters.
Not sure if this is a bug or Revit API requirement for such a workflow. I’ll add a bug report and we’ll investigate.