Discussions
SuiteScript Time Limits
I'm using a RESTlet script and getting a "SSS_TIME_LIMIT_EXCEEDED".
The script is running no more than a few minutes and is well below governance usage limits. What can anyone tell me about script time limits? I can't seem to find much, if any, documentation on time limits.
A search of the NetSuite help has only this to say about the error
Script Execution Time Exceeded.
Also, in the section on governance, the documentation seems to suggest there are no time limits
Given that there are no time limits imposed on script execution, NetSuite has put internal mechanisms in place to detect “runaway scripts” that include infinite loops. Once caught, these scripts will be terminated and an SSS_INSTRUCTION_COUNT_EXCEEDED error message is thrown. Should you receive this error, NetSuite recommends that you examine the for loops in your script to ensure that they contain either a terminating condition or a condition that can be met.