Some of the Marketo API gives exception read time out error

Anonymous
Not applicable

Some of the Marketo API gives exception read time out error

Sometimes getMultipleLeads() , describeMObject() API failes with read time out error. However this behaviour is not consistent.
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: Some of the Marketo API gives exception read time out error

The server signature has a lifespan of 15 minutes. It is genetared from user ID, encrytion key and server time stamp.

getMultipleLeads will raise "20016 - Request expired" when the processing exceeds that time.

You may need to work with smaller batches in order to avoid time outs.
getMultipleLeads will handle approximately 100,000 leads during the lifespan of each server signature.
It may be less depending on the amount of data returned.

The solution is simple: define the call within a loop in order to renew the timestamp before reading the next batch.

Please review the articles SOAP API Error Code 20016 - Request expired