eDiscovery Platform cannot collect all files from Microsoft SharePoint collection: "#422272 There was an error copying content from the source"

book

Article ID: 100033835

calendar_today

Updated On:

Description

Error Message

** ICP-Remoteicpjob log file - Example 1 **
2017-01-01 08:00:01,320  INFO [cms.sharepoint.SharePointConnector] (pool-20-thread-15:) Did not get a response for HTTPGet for http://sharepointserver.domain.local/Documents/Shared%20Documents/UserA.pdf, the status line is HTTP/1.1 401 Unauthorized

** ICP-Remoteicpjob log file - Example 2 **
2017-01-01 13:08:02,291 INFO  [cms.sharepoint.SharePointConnector] (pool-10-thread-29:) CW: Exception in copyDocumentUsingHTTP()
com.teneo.esa.common.connectors.sharepoint.exception.SharePointBaseException: Cannot get content: 404
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyURIUsingHTTP(SharePointConnector.java:472)
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocumentUsingHTTP(SharePointConnector.java:386)
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocument(SharePointConnector.java:871)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.copyDocument(CMSCollectionThread.java:188)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.run(CMSCollectionThread.java:104)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:343)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:46)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
2017-
01-01 13:08:02,291 INFO  [cms.sharepoint.SharePointConnector] (pool-10-thread-29:) CW: Excepion 2
com.teneo.esa.common.connectors.cms.CMSConnectorException: [#422272] There was an error copying content from the source
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocumentUsingHTTP(SharePointConnector.java:404)
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocument(SharePointConnector.java:871)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.copyDocument(CMSCollectionThread.java:188)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.run(CMSCollectionThread.java:104)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:343)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:46)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
Caused by: com.teneo.esa.common.connectors.sharepoint.exception.SharePointBaseException: Cannot get content: 404
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyURIUsingHTTP(SharePointConnector.java:472)
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocumentUsingHTTP(SharePointConnector.java:386)
    ... 9 more
2017-
01-01 13:08:02,292 INFO  [cms.sharepoint.SharePointConnector] (pool-10-thread-29:) CW: docURI start with FILE is false
2017-
01-01 13:08:02,292 INFO  [cms.sharepoint.SharePointConnector] (pool-10-thread-29:) CW: exception is NOTT of type SharePointBaseException
2017-01-01 13:08:02,292 INFO  [collection.cms.CMSCollectionThread] (pool-10-thread-29:) CW: CMSConnectorException occured
com.teneo.esa.common.connectors.cms.CMSConnectorException: [#422272] There was an error copying content from the source
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocument(SharePointConnector.java:906)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.copyDocument(CMSCollectionThread.java:188)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.run(CMSCollectionThread.java:104)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:343)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:46)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
Caused by: com.teneo.esa.common.connectors.cms.CMSConnectorException: [#422272] There was an error copying content from the source
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocumentUsingHTTP(SharePointConnector.java:404)
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocument(SharePointConnector.java:871)
    ... 8 more
Caused by: com.teneo.esa.common.connectors.sharepoint.exception.SharePointBaseException: Cannot get content: 404
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyURIUsingHTTP(SharePointConnector.java:472)
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocumentUsingHTTP(SharePointConnector.java:386)
    ... 9 more
2017-01-01 13:08:02,292 WARN  [collection.cms.CMSCollectionThread] (pool-10-thread-29:) Agent: SharePointConnectorException :
com.teneo.esa.common.connectors.cms.CMSConnectorException: [#422272] There was an error copying content from the source
    at com.teneo.esa.common.connectors.cms.sharepoint.SharePointConnector.copyDocument(SharePointConnector.java:906)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.copyDocument(CMSCollectionThread.java:188)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.run(CMSCollectionThread.java:104)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:343)
    at com.teneo.esa.icp.collection.cms.CMSCollectionThread.call(CMSCollectionThread.java:46)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)


Cause

This issue can occur if:
  • The SharePoint server is not available during collection and eDiscovery Platform SharePoint Connector failed to connect to the SharePoint server.
  • The account being used to perform the collection from Sharepoint does not have the proper permissions or the account is locked.
  • The data selected to be collected has been moved or deleted.

Resolution

eDiscovery Platform generates an ICP remote job log when a SharePoint collection runs. This log file is located in the eDiscovery Platform installation folder: D:\CW\Vxx\logs\icp-logs. If there was an issue connecting to the SharePoint server, SharePointConnector will generate an INFO message entry in the log containing the details about what caused the issue.  The table below shows how to correct the errors listed above.
 
Log entry Solution
2017-01-01 08:00:01,320 INFO [cms.sharepoint.SharePointConnector] (pool-20-thread-15:) Did not get a response for HTTPGet for https://sharepointserver.domain.local/Documents/Shared%20Documents/UserA.pdf, the status line is HTTP/1.1 401 Unauthorized Verify if there was a network issue between the eDiscovery Platform server and SharePoint when the file was trying to be collected and confirm if the SharePoint server was available. Once the issue is corrected, re-run the collection job in the eDiscovery Platform UI to collect the remaining files.
2017-01-21 13:08:02,291 INFO  [cms.sharepoint.SharePointConnector] (pool-10-thread-29:) CW: Exception in copyDocumentUsingHTTP()
com.teneo.esa.common.connectors.sharepoint.exception.SharePointBaseException: Cannot get content: 404
Confirm that the account that was selected to perform the collection exists with the correct credentials supplied and is not locked in Active Directory.  Also confirm that the data selected to be collected still exists in the Sharepoint site.

Issue/Introduction

eDiscovery Platform experiences a condition where it cannot collect all of the files from a Microsoft SharePoint collection. The Collection job finishes with Partial Success and the following error message is reported in the UncollectedFiles report:

[#422272] There was an error copying content from the source, Error Code: 1