I was trying to retrieve a bunch of time activities using fetchAll and the response from intuit was timing out at the default 1000 limit. I changed the limit to 100 which got the query working, but it stopped after the first request.
The response I got showed maxResults as 101...
"startPosition": 1,
"maxResults": 101
The api documentation does say that it's supposed to contain the number of records returned which is 100...
maxresults—The number of entity elements in the <QueryResponse> element.
Not sure if this is a change in the intuit api, but would you accept a PR that changed the === to >=here. Doing that locally gets it working again for me again.
I was trying to retrieve a bunch of time activities using
fetchAll
and the response from intuit was timing out at the default 1000 limit. I changed the limit to 100 which got the query working, but it stopped after the first request.The response I got showed
maxResults
as 101...The api documentation does say that it's supposed to contain the number of records returned which is 100...
Not sure if this is a change in the intuit api, but would you accept a PR that changed the
===
to>=
here. Doing that locally gets it working again for me again.