Hey, we are seeing 1,000+ ContentFragmentRenderingError's today and are unable to trace it down to an issue within our automations. I tried running the code in the Script Sandbox by manually entering my User ID and it runs without error. Not sure what else to check and how to dig into what really is going wrong.
Here is the error:
UnknownException: An error occurred while executing an automation. (An unidentified error occurred within a script.) ---> UnknownException: An error occurred while rendering the '' script from the 'Level Commander' automation ('[Level] Commander'/c1352118-89ab-4d17-9e11-0809c1034b9b). (An unidentified error occurred within a script.) ---> ScriptException: TypeError: No public methods with the specified arguments were found. (An unidentified error occurred within a script.)
Here is the Implementation for our [Level] Commander Automation:
var pointTransation = core_v2_pointTransaction.Get(context_v2_automationTrigger.Arguments.Id); if(pointTransation == null || pointTransation.HasErrors()) return; var user_1 = core_v2_user.Get({ Id: pointTransation.UserId }); if (user_1.Points >= 3000) { var user = core_v2_user.Get({ Id: pointTransation.UserId }); context_v1_achievementAutomation.Award(user.Id); }