function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Retrieve Marketing Cloud SOAP API SendEvent - Read Timeout

I want to be able to retrieve all sendevents from the date range and the subscriber list specified, however, I always get read time out when I do this in Prod. (Works fine in lower region.) How can I improve the architecture so that I can get all of the sendevents I need?
<?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="" xmlns:xsd="" xmlns:xsi="">
            <Security xmlns="">
            <RetrieveRequestMsg xmlns="">
                    <Filter xsi:type="ComplexFilterPart">
                        <LeftOperand xsi:type="SimpleFilterPart">
                                      <RightOperand xsi:type="SimpleFilterPart">


AbhishekAbhishek (Salesforce Developers) 

It would be better if you post this query on the Success - Salesforce Marketing Cloud page. so the experts on MC can help:

You can increase the timeout . Are you using Http to send the request? If yes then you can easily use SetTimeout(120000).