This content has been marked as final. Show 2 replies
Ok - to add more details to my issue, we actually narrowed the scope: we found that the duplicates were probably caused by the page switching in the SOAP API:
For example, each data page contains 1,000 lead records.
Lead A exist in data page #12 as last entry.
When we proceed to load data page #13, Lead A is loaded yet again as the first entry.
This caused us to see 2 Lead A entries, even they are in different data page. This is not supposed to happen.
This of course is not happening to all pages, it adds a bit more of complexity to the issue. I am hoping that someone from Marketo can confirm if this is a bug.
The getMultipleLeads call queries the Marketo database each time it is called regardless of the page being requested so it is possible that more leads fit the result criteria and therefore a lead (or leads) that were returned on page 1 of a previous call are now on page 2.
When using paging, recommend the use of filter logic after traversing the pages.