Hussnain
01/07/2025, 2:42 AMCeligo AI
01/07/2025, 2:42 AMAI generated answer (using internal Slack threads):The error message you're seeing is indicating that the 'limit' parameter for the SuiteQL/SuiteAPI query is out of bounds. The maximum limit for a single request is 1000 rows. If you need to retrieve more than 1000 rows, you will need to implement pagination in your API calls. In SuiteScript, you can use the
runPaged()
method to retrieve results that exceed the normal limit of query.run()
. Here is a link to the NetSuite documentation that explains how to use this method: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1510780277.html#Query.runPaged().
For SuiteAPI, you can use the 'offset' parameter in conjunction with the 'limit' parameter to paginate through your results. Here is a link to the NetSuite documentation that explains how to use these parameters: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_156414087576.html#Collection-Paging.
Please note that you will need to make multiple API calls to retrieve all your data if it exceeds the maximum limit of 1000 rows per request.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
01/07/2025, 2:42 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847965837
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846961617
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844151914
Celigo AI
01/07/2025, 2:42 AM