Not able to reindexing restored couchdb

Trying to restore CouchDB from one server to another, but not able to reindex it using the below command.

RAILS_ENV=production bundle exec rake sunspot:reindex

after reindexing 5 out of 7 batches, the rake is aborted with the error ArgumentError: invalid date

I have attached a screenshot for reference.

Dear @sanket252, which Primero implementation are you supporting including which version and country?

Hi @childprotectioninnov, thanks for the responce.
We are using Primero IMS version 1.6.20 in India.