Illegal access to method getMessage() in class org.mozilla.javascript.RhinoException
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:09 AM
I get this error message when I try to edit a catalog item in Catalog Builder.
Is it due to a flaw in the Cliant script? Where should I check?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:31 AM
Hi @ayano
Can you please check the workflow attached to the Catalog. The workflow might have some script in its activity which is giving error
Regards,
Piyush Sain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:42 AM
Hi,
Thank you for the comment.
If the catalog is running in a flow, is it an action in the flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:44 AM
@ayano yes please check any .addQuery parameters in script are correct
Regards,
Piyush Sain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:05 AM
Hi @ayano
Few points to check :
1. Check if you have typed the table name correctly if you are using any Glide query like GlideRecord('your table name').
2. If you are pushing the output in an array, ensure that the array is declared.
You can refer below posts as well which could be helpful :
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.