Skip to main content
Question

Occasional Timeout Issue with DocuSign Response

  • April 15, 2025
  • 1 reply
  • 23 views

Forum|alt.badge.img

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.

1 reply

Forum|alt.badge.img+3

@Sumayya Younas Docusign doesn’t have any options to improve API speed aside from searching for less data. 
If you’re getting data on around 30 envelopes it normally shouldn’t take more than a few seconds assuming you are not getting the full documents in the API request. 

Unless Docusign is experiencing an outage (https://status.docusign.com/) it’s possible the cause is from your local network. For example if you’re using proxies or a VPN those can slow down processing time. 
A simple test might be to make the same API request using a tool like Postman from your personal computer. If that returns data in much faster amount of time it would imply something with your local network connection could be the cause of the issue.