Ben Tanner
06/14/2022, 4:53 PMSSS_SEARCH_ERROR_OCCURRED
error with a Search error occurred: Invalid or unsupported search
message?
My SS2.0 script uses N/query to pull information from a sales order and various related records. The error is thrown on runPaged()
. The query runs just fine on some orders but throws this error on others. If it always failed I would think there was a problem with the query setup. Just hoping someone has encountered it before and has other ideas for troubleshooting.Nbtwist
06/14/2022, 5:52 PMBen Tanner
06/14/2022, 6:00 PMCD
06/14/2022, 6:54 PMBen Tanner
06/16/2022, 11:21 PMquery.runPaged
and seemed to be more of a timeout indicator. Running the loaded dataset is a few seconds.
I can't find any documentation on why there is such a big difference. Just sharing in case my experience helps someone else.