Hi all. We are getting an intermittent `SSS_INSTRU...
# suitecommerce
c
Hi all. We are getting an intermittent
SSS_INSTRUCTION_COUNT_EXCEEDED
error when placing a web order in SCA (the error is from the LiveOrder response, and I’ve narrowed it down to the
ModelsInit.order.submit()
call). The error happens frequently enough to be disruptive to our users, but is not easily reproducible by our teams. When we do happen to encounter it, even after disabling all User Event scripts and workflows, the error still persists in that moment. Is anyone familiar with this error? What could be the cause? Could a currently-executing Scheduled or MapReduce script impact SCA in this way? Any details or even ideas for troubleshooting would be immensely appreciated. cc @adambaruh
s
I assume you've seen the Help Center docs on this error?
NetSuite uses internal mechanisms to detect scripts that may include infinite loops when executing. When they occur, script execution is terminated and an 
SSS_INSTRUCTION_COUNT_EXCEEDED
 error message is thrown. If you receive this error, you should examine all of the execution loops in your script to ensure that they contain either a terminating condition or a condition that can be met.
So yes, it sounds like you have a script running that is looping and looping and then exceeding its governance limits.
a
@Steve Goldberg Yes we know the reason for the error, however we encounter this with all Sales Order user event scripts disabled and nothing custom in the Live Order model that would cause this. cc @Caleb Evans
To add, all UE sales order and customer scripts, client scripts, as well as workflows disabled and we encounter this. Almost seems as if some other scheduled or map reduce script is doing something and the error is bubbling up to affect SCA orders
f
have you checked scripts related to the customer record?