ErrorFailing widget

Damayanti Sarod
Tera Contributor

Hi ,

 

I am getting the below error while clicking on 'My Task' in ESC portal

ErrorFailing widget: 'Recommended Articles For Todos' (3a59d6eadbd3c0109dd29207db961999) called from: 'HRJ Task Collect Information' (c97b3639870b63005346caf736cb0bd0) called from: 'HRM Task Activity' (be9a53ee738023002ceb31d7caf6a769) called from: 'To-dos task Line Item' (a4716c8f53d3130030f3ddeeff7b1288)

 

DamayantiSarod_0-1752054131152.png

 

 

How to fix this?

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Damayanti Sarod 

from when that error started coming?

what debugging did you do?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

For some users , the records were not displayed under 'My Task' in ESC Portal, so I deactivated one OOB  To-do Configuration named 'HR Tasks' . After that, user was able to see the records under 'My Task', but this error started reflecting since then.

I tried to debug the script include mentioned in error named "UserRecommendationUtilSNC" but since it is high priority file type, I am unable to edit it

Tushar
Kilo Sage
Kilo Sage

Hi @Damayanti Sarod 

 

 

Please check the Script Include with the sys_id 94d06ee7db3b04509dd29207db961953 (from the error)

Open the script and go to line 10 to find the function or method causing the issue.

Look for a function call (e.g., someObject.someMethod()). The error suggests someObject or someMethod is undefined.

 

try Inserting gs.debug() statements before line 10 to log variables or objects

gs.debug('Checking object: ' + (typeof someObject));

 

Thanks,

Tushar

 

Did you get this figured out?  I suddenly started getting a similar error since last week as well - for a different module and template, but it's a Java Script error referencing a line in a system script, and a failing widget error.

 

CherylODell_0-1753189437110.png

 

Maybe it's unrelated, but it's odd that it started happening the same time as the error you are seeing.

 

Cheryl