Notes error: Invalid or nonexistent document

Hello,I need help to remove the error :- Notes error: Invalid or nonexistent document.

I am having one schedule agents which takes data from one database to another. but one day I found this error in the logs. I checked all the documents my checking there properties… all documents are fine. but still in logs I am getting this error. and may be this error in affecting the agent as well.

Can some one please help me to remove this error. I have no idea why this is coming up.

Thanks in advance for the help.

Subject: Notes error: Invalid or nonexistent document

The only thing I can think of is that you are finding replication save conflicts in your code.

Subject: Notes error: Invalid or nonexistent document

There might be some deletion stubs in the database. Or there could be a corrupt document too.First make sure that you dont find the document by creating a view with the same search collection.

If you still dont find it, then request your lotus notes admin to do a compact or repair on the database.