When scanning a file system and it goes for some time then it gets 100 consecutive errors then the scan ends. All of the errors are failed to download errors.
Level: WARNING
Instance: <Scan name> <date and time>
ItemState: FAILED_ITEM
ItemURL: //<server>/<share>$/123/abc/<filename>
Bytes: 0
Message: Failed to download.
Extra1:
Permissions:
Extra2:
15.x and 16.x
This error was caused by settings in the environment related to the DLP scan user and the share.
Attempted to manually access those files using the DLP scan user and found that a warning message popped up requesting the user press continue to access those files.
An adjustment was made to the directory permissions group in order to address the problem.
After making the changes the scans were able to complete.