REST Folder API Duplicates while Paging

xceled
Level 2

REST Folder API Duplicates while Paging

Hello,

 

While paging through /rest/asset/v1/folders.json using the offset parameter, we are seeing duplicate folder ids in later pages that were returned in earlier pages. 

E.g. With a maxReturn=200 and offset=0, we get folder id 130 in the results. Then with the same maxReturn=200 and offset=200, we again get folder 130 in the results. This is breaking our existing integration we built and not sure why this API is now providing records shown in earlier pages in later pages. Any idea what might be behind this? Has Marketo broken paging in their API to now not page properly?