**Legacy** DocuSign eSignature for Salesforce - Default Apex Timeout settings may prevent you from accessing DocuSign Admin

**This article pertains to Legacy DocuSign eSignature for Salesforce.**

Issue

When attempting to send a document out for eSignature from Salesforce, you encounter an error.

Error

Timeout must be between 1 and 120000.
Error Time out must be between 1 and 120000

Cause

In DocuSign Admin settings, one of the settings you can adjust is called Apex callout limit and can have a value between 1 and 120000. If you enter an invalid number, such as 0 and save the settings, your users will encounter this error. 
Note: you can type any value and save without any error message preventing you from saving an invalid value.

Solution 

Go to the DocuSign Admin object > Settings > find 'Apex callout limit (seconds)'
 
User-added image

 

Additional steps

For DocuSign eSignature for Salesforce version 7-7.8:

  1. Navigate to the 'dsfs__Troubleshooting' page, see the following article on how to get there: DFS Troubleshooting Page
  2. Click 'Delete DocuSign Credentials', note that this will clear any custom default emails and user mapping, so you'll need to reconfigure after this.
  3. Navigate back to the DocuSign Admin tab and reconfigure the login, relink all users that need to use DocuSign, check your settings.
 

For DocuSign eSignature for Salesforce v.6 or earlier:

  1. Open the DocuSign Account Configurations object


User-added image
 
  1. Select the account configuration you are using from the list.
  2. Click on the Edit Layout button
User-added image
  1.  Find a button called Default Apex Timeout. It is visible if you filter for Fields.
User-added image
 
  1. Add this button to the Configuration and save.
User-added image
Note: Once the button has been added, you should be able to modify the value to something higher. Be aware that the value here is expressed in milliseconds so 1 second will be 1000 ms. Changing the value to something very small may also cause other errors.

Learn More