code checkin to store failed records and crawl failed records