During the ZySCAN export phase the message “Invalid primary key value” and “Export failed” appears. This can be caused by different reasons when you have configured a ZySCAN system or archiving process to export to a Document Registration Module index
Insufficient permissions to access the index.
Verify that the user has sufficient rights to access the relevant data directories. Make sure to assign sufficient permissions on the index and index data folders on the file system.