Does that connector use SuiteQL or some sort of query? I've ran into this before with SuiteQL and had to play around with the offset and limit clause I was sending.
What does your pagination setup on your Celigo export look like now? The default limit is 100 if you don't send it, and we auto-send the offset based on the count of records we get back. My guess is you're hitting something like this:
First API call: offset = 0, limit = 100 → 100 results back
Second API call: offset = 100, limit = 100 → 33 results back
Third API call: offset = 133, limit = 100 → error, because 133 isn't divisible by 100
Per the SuiteProjects Pro REST docs: "The offset must be a positive number divisible by the page limit." Setting the limit to a value that divides cleanly into your total (or switching to a pagination strategy that increments offset by limit, not by returned count) should get you past it.
So this should only be happening to you on the last API call we make where we wouldn't have gotten any results returned anyways. So you could do a couple things:
Try using Page number parameter as the paging mechanism and Override page number start index = 0. In your relative uri, try: /endpoint?limit=100&offset={{multiply export.http.paging.page 100}}
Since the response includes meta.totalPages and meta.totalRows, you could also configure a last-page indicator on the export so we stop paging before that final throwaway call ever fires — the error never surfaces and you don't have to change your pagination strategy.
limit 100, offset 200, you get 35 records, then we should stop here
limit 100, offset 300, you get the error
And you confirm you're doing this with meta.totalPages set? /endpoint?limit=100&offset={{multiply export.http.paging.page 100}}&dummy={{export.http.paging.page}}
If you have that setup, we should not be making that 4th API call. Adding @prudhvivemulapati here as our product manager for HTTP connector and he is currently doing some work around pagination and maybe there is a bug here.
For now, can you make a preSavePage script that filters out this particular error? Doing this would make sure the job doesn't fail just because of this issue.
function preSavePage (options) {
options.errors = options.errors.filter(e =>
!e.message.includes('The specified query parameter 'offset' is out of bounds.')
)
console.log(JSON.stringify(options.errors))
return {
data: options.data,
errors: options.errors,
abort: false,
newErrorsAndRetryData: []
}
}