Issue with the Remote File Importer Mechanism
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2018 11:56 AM
Hi Folks I am facing an issue with the Remote file importer functionality. Below is the error I am getting, can someone help me out on this issue please
When I am trying to execute the job I am getting the below error in the ECC Queue. Some kind of Java error
<?xml version="1.0" encoding="UTF-8"?><results error="Caused by error in JavaScript probe 'CSRemoteFileImport' at line 2 1: var remoteFileImport = new CSMIDServerRemoteFileImport(); ==> 2: remoteFileImport.getRemoteFileAndUploadToInstance() " probe_time="890" result_code="900000"><result error="Caused by error in JavaScript probe 'CSRemoteFileImport' at line 2 1: var remoteFileImport = new CSMIDServerRemoteFileImport(); ==> 2: remoteFileImport.getRemoteFileAndUploadToInstance() "><output>Evaluation error: Caused by error in JavaScript probe 'CSRemoteFileImport' at line 2 1: var remoteFileImport = new CSMIDServerRemoteFileImport(); ==> 2: remoteFileImport.getRemoteFileAndUploadToInstance()</output></result><parameters><parameter name="targetImportSet" value="u_import_sccm_midserver_data"/><parameter name="agent" value="mid.server.TestMid-01"/><parameter name="instance" value="https://aontest.service-now.com/"/><parameter name="response_to" value=""/><parameter name="filePath" value="D:\ServiceNow\Test-Mid-01\agent\export\app_store_export\appstore_export_output.csv"/><parameter name="from_sys_id" value=""/><parameter name="source" value=""/><parameter name="priority" value="2"/><parameter name="agent_correlator" value=""/><parameter name="script" value="var remoteFileImport = new CSMIDServerRemoteFileImport(); remoteFileImport.getRemoteFileAndUploadToInstance()"/><parameter name="processed" value=""/><parameter name="error_string" value=""/><parameter name="sys_id" value="23a03407dbae5700ef617868bf96194f"/><parameter name="sequence" value="163efa25fa60000001"/><parameter name="from_host" value=""/><parameter name="sys_created_on" value="2018-06-11 16:16:26"/><parameter name="name" value="CSRemoteFileImport"/><parameter name="topic" value="JavascriptProbe"/><parameter name="state" value="ready"/><parameter name="queue" value="output"/><parameter name="ecc_queue" value="23a03407dbae5700ef617868bf96194f"/></parameters></results>
I sincerely appreciate your help in advance Regards
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2020 11:37 AM
Hi Ankur,
I have this Issue, do you have an idea?
03/16/20 11:34:01 (139) Worker-Standard:JavascriptProbe-24322992db6b4c10f1ed3892399619ce WARNING *** WARNING *** javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Unable to find certificate chain.
Caused by error in JavaScript probe 'CSRemoteFileImport' at line 2
1: var remoteFileImport = new CSMIDServerRemoteFileImport();
==> 2: remoteFileImport.getRemoteFileAndUploadToInstance()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2020 09:58 PM
Hi Emy,
not sure what the issue since I haven't faced similar. Seems to me something related to certificate issue
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2022 03:07 PM
Hey Ankur,
I am using File importer app to import a file from the mid server, but I am getting this error.
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 05:59 AM
Hi,
I haven't used the Remote File Importer update set.
You need to debug it from your side.
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2018 10:33 PM
Hi
I am using the same application and not getting any error. If you will check the comments on the sharenow for this application you will find that there are some udpates that you will be required to do to run it.I have updated the script accordingly and this is working fine. Please find the xml of both the script includes in attachment.
I hope this will help you out.
Regards,
Harsh