Troubleshooting SILThrowException required_logged_in_user errors in Power Scripts

Troubleshooting SILThrowException required_logged_in_user errors in Power Scripts

Problem

A SIL script in Power Scripts for Jira failed to run to completion. Per the logs, you identify the following cause:

com.keplerrominfo.sil.lang.grammar.SILThrowException: required_logged_in_user

Solution

This error is typically caused by a SIL routine that requires a user parameter, but the parameter is either unset or null.

A common example is using the routine in a script that doesn't have a user associated with triggering it. For example, in a script with scheduled execution, you must modify it to ensure a user value is defined instead of using currentUser().

Please open a support ticket if you need further assistance or have difficulty correcting the affected script.

 Related articles