CommunicationException when getLeadChanges with batch size 500

Anonymous
Not applicable

CommunicationException when getLeadChanges with batch size 500

Hi all,

I'm using SOAP APIs to get ActivityRecord data very well with API 'getLeadChanges' using 500 as batch size.

But since last month, I often meet exceptions when getting Activity data. And when I change the batch size to be half (250), it works.The exception is as following:pastedImage_0.jpgIt seems that the Marketo server closes this request.Any suggestion is expected for that batch size 500 (or larger) could work.Thanks,Biao

2 REPLIES 2
Kenny_Elkington
Marketo Employee

Re: CommunicationException when getLeadChanges with batch size 500

How long is the request running before the exception and what does the XML of your call look like?

Anonymous
Not applicable

Re: CommunicationException when getLeadChanges with batch size 500

Hi Kenny,

There is not too much time before exception, far less than timeout setting.

I could not see the raw XML of request/response. I'm using the SOAP APIs coding by Visual Studio automatically, with StreamPosition of oldestCreatedAt = '2015-04-07T00:00:00Z' and latestCreatedAt = '2015-05-07T00:00:00Z', and ActivityTypeFilter.includeTypes = ['Click Link','Visit Webpage','Interesting Moment','Open Email','Email Bounced Soft','Fill Out Form','Unsubscribe Email','Click Email'].

I think the request XML is valid because it works well for most data.

Thanks,

Biao