Get the object error in if condition

use a write range atlast to the for each loop buddy
Cheers @balkishan
next to this