This content has been marked as final. Show 4 replies
Are you setting a client-side connection timeout? Can you provided a (redacted) copy of the exact call which you're making? How many records are available in your target list?
Thanks for looking into this. We do not set any client-side connection timeout. Here is the java code we use to make the api call. Please note that we are using batchSize=1.
URL url = new URL("https://<marketo url>/rest/v1/list/<list id>/leads.json?access_token=<access token>&batchSize=1&fields=<comma separated fields>");
urlConn = (HttpsURLConnection) url.openConnection();
int responseCode = urlConn.getResponseCode();
If you make this same call without specifying the batchSize parameter, do you still receive the request timeout error?
I am still seeing the timeout error after removing the batchSize parameter