We’re facing occasional timeout issues in our Production environment when connecting to the DocuSign API.
The issue doesn’t happen every time but occurs randomly, with some DocuSign responses taking 5 to 6 minutes, causing our system to time out.
We’ve verified that the issue is not related to our system's overall execution time, but specifically to the time it takes to receive a response from DocuSign.
var envelopesOptions = new EnvelopesApi.ListStatusChangesOptions
{
fromDate = DateTime.UtcNow.AddDays(-Convert.ToInt32(envelopeRequest.SendDay)).ToString("MM/dd/yyyy"),
folderIds = envelopeRequest.FolderId,
searchText = envelopeRequest.SubjectWord,
include = "recipients"
include = "custom_fields",
status = " completed "
};
The above-mentioned code is used to filter envelopes within a 1-day period using ListStatusChanges. We are getting more than 30 envelopes. After that, we take only those with loan subjects and use a foreach loop to list recipients based on the envelopes. This is the process. Can you please assist with how to reduce the loading time? It doesn’t happen every time—only occasionally.
Back to Docusign.com


