AnsweredAssumed Answered

SOAP API not returning newStreamPosition

Question asked by Burke Webster on May 3, 2016


I'm working on a SOAP integration and I'm seeing some strange behavior.  I'm making a call to the getMultipleLeads endpoint that looks like this:


<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsd="" xmlns:xsi=""










  <leadSelector xsi:type="ns1:LeadKeySelector">














As you can see, I'm setting a very small batch size in order to test the newStreamPosition behavior.  The response I'm getting looks like this:


<SOAP-ENV:Envelope xmlns:SOAP-ENV=""
   xmlns:xsi="" xmlns:ns1="">















The strange thing is that the remainingCount says 3, which is correct based on the data I have, but the newStreamPosition is empty.  Therefore I don't have a way to make another call to get the next batch of 2 documents.


This exact use case is documented on Marketo's own site -


It's not working for me.  Is this a bug?