Task verification throwing error