Getting Error in "Input ECC Queue" as "No sensors defined". I am getting this when trying to execute one of the "Remote file import".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2016 08:14 AM
We have recently upgraded to "Helsinki Patch 1". Before this we were on "Dublin" version.
Post upgrade we are unable to upload the .csv file using "Remote File Imports", which uses MID Server. Whenever we are trying to execute this import, we are getting error in "Input ECC Queue" as below -
<?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="120" 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_hecat_nps_coa"/><parameter name="agent" value="mid.server.apps1534"/><parameter name="instance" value="https://removed.service-now.com/"/><parameter name="filePath" value="\\test\InterfaceFiles\ServiceNow\Outgoing\Archive\SNCOA20160704.csv"/><parameter name="priority" value="2"/><parameter name="script" value="var remoteFileImport = new CSMIDServerRemoteFileImport(); remoteFileImport.getRemoteFileAndUploadToInstance()"/><parameter name="sys_id" value="8ec67cc7db012e0049f5fb9dae961973"/><parameter name="sequence" value="1566fbac7cf0000001"/><parameter name="sys_created_on" value="2016-08-09 14:35:27"/><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="8ec67cc7db012e0049f5fb9dae961973"/></parameters></results>
I checked few things as below -
1. Checked below ACLs if they have "MID_Server" role added for read access, it is there
a. record/ecc_agent_script_include.*/read
b. record/ecc_agent_script_include/read
2. Tried to add "skip_sensor" parameter to probe "JavascriptProbe" with value "true", but still the same error.
3. Checked some where for REST & SOAP messages we can add "rest.setEccParameter('skip_sensor', true);" or "soap.setEccParameter('skip_sensor', true);", but unable to get where we can add in the script include "CSRemoteFileImport".
Can anyone help me to check this? PFA the "CSRemoteFileImport" script include for the reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2018 01:13 AM
Thanks for the fix, Arthrum. It worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 02:17 PM
Thank you. This was helpful and worked. I had been looking all over for solution. Would be helpful if someone just fixed the file in the download so it worked. Short of that it was very easy to find the file and easy to follow the instruction here and it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2020 06:50 AM
It worked good to me,
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2022 04:15 AM
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2024 08:36 AM
Works like a charm! thanks! The input is returning 200, but setting state state as error. How can i handle this to update the input probe as processed or what will be appropriate. i did a business rule, doesn't seem to work. How should i craft the business rule /sensor?
Thanks