My for each loop is unable to go to the next row

i removed it due to sensitive information