Send lastId and init error hancdling