Catalog Item Reference Field Information Button Javascript Error

serviceNowDev68
Tera Contributor

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!

2 REPLIES 2

Shubham26
Tera Guru

Hi @serviceNowDev68 

 

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

Ranjit Nimbalka
Mega Sage

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