Submit cancelled due to script error.

saranya7
Kilo Contributor

Hi all,

Users are unable to update the catalog task due to "Submit cancelled due to script error. Please contact your system administrator" error. This error is thrown for few catalog items and system is not allowing to update the catalog task after insertion. Please give me some pointer on why this error is thrown?

 

Thanks in Advance.

1 ACCEPTED SOLUTION

solutioningnow
Giga Guru

Hi Saranya,



I have also faced similar issue many times, to solve the issue generally I open the same page in Mozilla and check the error console. We get this type of error when some client script throws errors.



Please mark answer as correct/helpful, if it was helpful



Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


View solution in original post

10 REPLIES 10

lawrence_eng
Administrator
Administrator

Note: I moved this thread out of Community Updates & Feedback and into Support.



Thanks,


Lawrence


--


Online Community Program Manager, ServiceNow


solutioningnow
Giga Guru

Hi Saranya,



I have also faced similar issue many times, to solve the issue generally I open the same page in Mozilla and check the error console. We get this type of error when some client script throws errors.



Please mark answer as correct/helpful, if it was helpful



Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


Thanks for indicating this issue happens due to client script. should be a syntax error? it will be more helpful if you can elaborate the steps to debug Since I checked syntax of all the client scripts on sc_task table but "Syntax OK" for all the scripts. Please advise.


Hello,



Its may be related to Syntax error but more of the variable you are accessing in client script is not accessable for logged-in user or may be the field not available for current view.



If you open the same page in Mozilla, check Error Console using Web Developer it display as below:


Error.PNG


With this you can easily track the script which is casing issue.



Please mark answer as helpful, if it was helpful



Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


Other way this can be traced is by testing it using admin id, I tried with ITIL it gave the error "Submit canceled due to a script error - please contact your System Administrator.", but when I tried with admin id it gave the full client script and the error which was in it.