What could be a typical cause of the below error on an export stage of a flow;
Message:
Script Execution Time Exceeded.
Code: sss_time_limit_exceeded
Source: NetSuite
Classification : Too large
This is a NetSuite saved search exporting inventory levels for items that have recently had their inventory level modified. The errors seem to happen at sporadic times. Is it as simple as the search returning too many items? That seems unlikely.
This error is usually seen when NetSuite takes more than 5 mins to execute/complete the search. It could be because of multiple factors and one of those could be the search is complex.
I’d advice you to create a support case with us so the team can take a closer look at the search and analyse other factors too.
Try decreasing the batch size under advanced and try removing fields you don’t actually need.
NetSuite's search APIs will by default return up to 1000 records every time you request a new page of results. This is problematic if you need to execute a SuiteScript based hook on the records before they are exported (in which case you will likely run out of SuiteScript points or hit NetSuite instruction count limits), or if the individual records you are exporting are very large such that the sum of all 1000 records exceeds 5 MB (which is also not allowed). For either situation, this field can easily be used to tell integrator.io to break down the default 1000 record batches into smaller batches where you define the ideal size.