zapier – Problem while processing the CSV file with missing field values

The code step in Zapier should create the output array with the various fields to use in the next step.

The mistake I see is:

TypeError: The property & # 39; split & # 39; from undefined can not be read

It looks like the Import CSV step has created an issue with an undefined value that causes the problem with the split () function.

var firstNameArr = input (& # 39; firstName & # 39;). split (& # 39 ;, & # 39;);
var lastNameArr = input (& # 39; lastName & # 39;). split (& # 39 ;, & # 39;);
var emailArr = input (& # 39; email & # 39;). split (& # 39 ;, & # 39;);
var certProgramArr = input (& # 39; certProgram & # 39;). split (& # 39 ;, & # 39;);
var certProgramCompArr = input (& # 39; certProgramComp & # 39;). split (& # 39 ;, & # 39;);
var streamArr = input (& # 39; stream & # 39;). split (& # 39 ;, & # 39;);
var certDateArr = input (& # 39; certDate & # 39;). split (& # 39 ;, & # 39;);
var recertDateArr = input (& # 39; recertDate & # 39;). split (& # 39 ;, & # 39;);
var visibleArr = input ("Visibility"). split (",");
var output = ();

for (var i = 0; i

Neil Moses is a new author of this site. Please carefully ask for clarification, commenting and answering.
Read our Code of Conduct.