- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 01:25 AM
Hi ,
I am getting below error while hitting REST API outbound POST method , I am using Basic authentication (Auth Profile UserName and Password will be shared by third party tool ?)
org.mozilla.javascript.JavaScriptException: com.glide.ecc.ECCResponseTimeoutException: No response for ECC message request with sysid=*** after waiting for 300 seconds in ECC Queue
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 01:30 AM
Hello @naveenreddy0871
I believe you're encountering a timeout issue with your REST API call. The ECCResponseTimeoutException indicates that the system didn't receive a response within the specified time frame.
-> You can increase the timeout for your REST API call. In ServiceNow, you can set the glide.http.outbound.max_timeout property to a higher value. This property controls the maximum timeout for outbound HTTP requests. You can also use the waitForResponse() method to set a custom timeout. Check this LINK
-> Ensure that the Basic authentication credentials (username and password) provided by the third-party tool are correct and properly configured in your authentication profile.
-> Make sure that the MID Server you are using is up and running. Sometimes, issues with the MID Server can cause timeouts.
-> Check if the endpoint you are calling is responding slowly. You can test the endpoint using tools like Postman to see if it responds within the expected time frame.
-> Ensure there are no network issues or firewalls blocking the communication between your instance and the endpoint.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 04:46 AM
Hi @Viraj Hudlikar ,
I have a Data Source - Type (Custom Load By Script )
While I am clicking Load All Records on the Data Source and if click on robust transform on the loaded data, then data is getting updated correctly .
If i execute Scheduled Data Import on the data source then only I am getting this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 05:06 AM
was this working fine earlier?
The error clearly says it got timed out and no response came from that API
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 05:18 AM
Hello @naveenreddy0871
See if this helps and same I have mentioned earlier.
Solved: How can I avoid the "No response for ECC message r... - ServiceNow Community
I would suggest to check this from Postman tool and see if you are getting response or not.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 05:44 AM
Hi ,
But the Same script is working fine when i am doing Test load 20 Records or Load all records , its failing only when i am executing Scheduled data import on the Data Source.
Error executing script : org.mozilla.javascript.JavaScriptException: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
Thanks
Naveen Reddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 06:11 AM
Since this is a custom load by script, which file you are attaching to the data source to load the data?