Are you looking at iterations of the Repeat action or Iterate?
For Iterate, the iteration number matches the row number, as far as I know.
For Repeat, there isn't really a great drop-in solution, but you could catch the error and log it, as suggested in Logging and notification of completed ezmorph tasks.