The function requires a valid (not empty) type name but has been called without or an empty type name.