Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Unhandled Exception in GlideAjax

soumya17
Tera Contributor

Hello ,

 

when i opened catalog item from portal i see "there is a javascript error in your browser console". 

i wrote client callable script to get multiple values..

soumya17_0-1677758655589.pngsoumya17_1-1677758713910.png

soumya17_2-1677758776689.png

Can someone correct me where did i do worng here..

Thanks

8 REPLIES 8

soumya17
Tera Contributor

Hello @Ankur Bawiskar , @Brad Bowman  

 

Any other solution to fix this?

 

Thanks

@soumya17 

did you check browser console and check what's the error?

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

soumya17_0-1678171798552.png

 @Ankur Bawiskar  This is the error i can see in the console.

Thanks

Soumya

 

I would suggest you to add a debugger; statement in the callback of the GlideAjax. When you open the browser console and your codes gets executed, it will make the debugger trap on the "debugger;" line. Then you can step through your code line by line.