Catalog Item Reference Field Information Button Javascript Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 05:15 AM
Hi everyone,
I've encountered an error with one of my catalog items. When I target certain lists, a toaster menu appears, indicating there's a JavaScript error in my browser. One of the errors is as follows:
TypeError: Cannot read properties of null (reading 'location')
And another:
UI policy script error: TypeError: Cannot read properties of undefined (reading 'execute')
I'm unsure how to resolve this. I've seen some posts discussing similar topics, but none seem to address my specific case. Any suggestions would be greatly appreciated!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 06:16 AM
Above error usually occurs when you used incorrect script or variables value has undefined.
Can you please share more details like UI policies or client script screenshot so we can check and help you.
Thank You.
Regards,
Shubham Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 06:20 AM
Hi @serviceNowDev68 ,
This error will occur through client script or UI policy try by deactivating recently created or updated client script or UI policy if works then in that UI policy or client script having issue debug that.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Ranjit