Cannot Index Into a null list, dictionary or string

Hey, I’m trying to create a custom script using Data Shapes MultipleInputForm++ and I get the warning message mentioned in the title of this message. Here is the Image below.
Anyone would know how to fix this error?

Start by resolving the errors further upstream FamilyType.Name returning a warning means there may be a proceeding issue to resolve.