Submit canceled due to a script error - please contact your System Administrator getting this error

subbarayudu
Tera Contributor

Submit canceled due to a script error - please contact your System Administrator getting this error when i am trying to save the form. This would only effect by one user. 

subbarayudu_0-1723044395999.png

I have inactivated the one of the client script and not getting any error after that. Here I am sharing the screen shot that client script. Could you please let me know the line of code causing this error.

subbarayudu_2-1723044772977.png

 

 

 

Thanks in Advance

9 REPLIES 9

With all of the custom fields, and only known to affect one user, this is not something re-creatable in a different environment.  I would check the browser console when the error occurs, then break down the script line by line, then starting with one intake field to get it to run for this user, then you will uncover the problem line/field.  It could be access to a field mentioned in the script, or a table/field referenced by a field named in the script. 

will check on this

Thanks for your suggestions!

 

Hi @Brad Bowman  

I am unable to find the solution for this, could you please help on this

I was suggesting you look in the browser console (in Chrome it's More Tools... Developer Tools) to see if the error gives any indication of the issue.  Then change the array to include only one field to see if it works for this user.  If it doesn't, add alerts so that you can see if / how much of the script is running.  If it does work, add one field at a time back into the array until you find the one that is causing the issue.

Thanks @Brad Bowman  for the follow up, will try this