Getting JavaScript Error: Unhandled exception in GlideAjax on Service Portal while opening the Incident Form for end users only(who has no role assigned). Admin and ITIL users are not getting errors while opening submitted incident on Portal.

Ankit Kumar7
Tera Contributor
1 ACCEPTED SOLUTION

Mohith Devatte
Tera Sage
Tera Sage

Hello,

Can you please check any on load client scripts on incident form  where they might have used glide ajax and let me know ?

Usually this happens  when there is a problem in glide ajax while calling any script include 

in your case as you are getting error while opening the form it must be a on load client script 

Please debug by deactivating such client scripts and then check if the error is coming up in portal. If the error is not there after deactivating the client script then we can debug which client script it is .

please accept the solution or mark helpful it it answers your question

View solution in original post

10 REPLIES 10

Mohith Devatte
Tera Sage
Tera Sage

Hello,

Can you please check any on load client scripts on incident form  where they might have used glide ajax and let me know ?

Usually this happens  when there is a problem in glide ajax while calling any script include 

in your case as you are getting error while opening the form it must be a on load client script 

Please debug by deactivating such client scripts and then check if the error is coming up in portal. If the error is not there after deactivating the client script then we can debug which client script it is .

please accept the solution or mark helpful it it answers your question

Yes, There is three Client script of Type-onLoad on Incident table which contains GlideAjax class. I will check and let you know.

Thank You!!

Sure reply on this thread once you find it .Try deactivating one by one and check when it is working .

Like deactivate one script and check if it is working if not then again deactivate the second script if not try to deactivate the last script

Hi Mohith,

I deactivated one by one  but still getting error. 

This is just to make you known that admin and ITIL user are not getting the error. Only end user who has not given any role getting the error.

Thank you!