ATF: This step failed because the client error 'Error: [$rootScope:infdig]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago - last edited a month ago
Hello everyone,
I am encountering an issue after upgrading the version from Xanadu to Yokohama.
When running ATF up to the step "Open Service Portal Page", an error occurs with the following log:
"This step failed because the client error 'Error: [$rootScope:infdig] http:// errors. angularjs . xlts . dev /1.5.23/ $rootScope/infdig?p0=10&p1=%5B%5D at..."
Configure encounters a similar error as shown in the screenshot below:
Does anyone know the cause and how to fix this $rootScope error? Please help me.
Thank you so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Try to add that error to Ignore/Warning list and then re-run again.
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
a month ago
Hi @Dinh Nguyen ,
The $rootScope:infdig error in AngularJS occurs when a digest cycle repeatedly triggers more changes than permitted (by default, 10 iterations) without stabilizing, resulting in an infinite loop. A typical culprit: calling a function inside an Angular directive (like ng if) that performs asynchronous or state-changing operations
In your case, the issue appears after the Yokohama upgrade (Have you upgraded to Yokohama?)
ATF errors after upgrade, e.g Java exceptions on Validate Variable Values (NullPointerException) and these days Cross scope access problems in Yokohama affecting ATF steps due to new backend ACL enforcement..
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
I have the same error.
My problem had occurred while using ATF to test submitting a form and waiting for approval.
While I was running ATF, it returned "success" for all below steps including impersonate, add information directly into form, submit the form, check whether the request is available on request table. Unfortunately, when it ran to the step Open Service Portal Page it showed the same error as the topic.
I have researched the knowledge base (link attach below) and thought the reason would be come from the data which generated during the test was supposed to be rolled back. But I'm not quite sure this one is the main reason or not. Does anyone know this?
Link Knowledge Base: ATF: Data generated from some tables during ATF test is not rolled back after the test run - Known E...