Check error count on insert result