sanjaynayak
5 years agoNew Contributor III
Marketo Snap pack
@dmiller , I am using marketo snappack instead rest API call, not finding any pagination concept in lead read. Is there any work around for this or pagination is available.
Hi Sanjay:
I don’t mean to hijack this thread. The Marketo snap pack performs pagination under the hood. If there is a nextPageToken in the response, it makes another REST call using the next page token. It will continue to do this until a token isn’t found in the response. So, you shouldn’t need to do anything, and it should just work.
That said, there is a known issue with the Get Lead Activities command REST call which does expect a “next” token on the first page. This is an issue to be fixed.