I had this problem a few times when I was uploading large quantities of data at once, and each time I tracked it down to one of two scenarios:
1. I had used up all of the disk space on the drive that the prearchive resides on (was hard to track down as by the time I checked it, the drive had been partly cleared so it didn't appear full).
2. I was trying to upload a duplicate of a scan *while the original was in the "Building Now" state* (note this didn't always cause the error, only occasionally: usually duplicates are handled appropriately).
I solved 1 by not uploading >1TB of scans at once, but uploading in batches. I solved 2 by tweaking the delays I built in to the batch uploads in combination with the "Session Idle Check Interval" and "Session Idle Time" parameters. In our case this hasn't happened since (because this never actually happens in practice, only when I was uploading half a decade of historical data).