Notifications

57 views

Symptoms


User Criteria is not working when initiated via a REST API call or Web Service

Logs or error show "Security constraints prevent ordering of Item"

com.glide.script.fencing.MethodNotAllowedException: Function log is not allowed in scope sn_sc. Use gs.debug() or gs.info() instead

Cause


The User Criteria Script maybe using a function or method that is not allowed to be called from web service

Resolution


Check the script if it has gs.log and replace it with gs.debug

If there is none, check for errors by checking the 'System Log'

 

Article Information

Last Updated:2019-05-21 11:51:44
Published:2019-02-07