Trending Topics: Latest from our forums (October 2020)

Trending Topics

Here are some of the latest popular questions that the Docusign developers community asked on Stack Overflow in the month of October 2020. You too can ask questions by using the tag docusignapi in Stack Overflow.

Thread: Receiving error while integrating Docusign with Salesforce

Summary: The developer is trying to use the Docusign Apex Toolkit and connect Docusign to Salesforce to make API calls and is running into an error. The error says “Web service callout failed: Unable to parse callout response. Apex type not found for element turnTLSv11Off"”

Answer: This issue is being investigated by various teams inside Docusign. As of this writing, this is still an active known issue. There is, however, a workaround: log into your Docusign account, select Settings, then Connect under Integrations from the left menu. Find your Salesforce configuration and select Reconfigure Login under your Salesforce Username.

Connect settings

Thread: Docusign API returning errorCode REQUEST_ENTITY_TOO_LARGE

Summary: The developer is using the eSignature REST API and attempting to create an envelope with two files, each of which is 19Mb in size. They get an error message REQUEST_ENTITY_TOO_LARGE. 

Answer: Docusign has a limit of 25Mb for any API call. You can find it in the eSignature API rules and resource limits page on Dev Center. This limit includes all the information and the documents in the call. The developer can still create an envelope with these two documents, but they will have to make two separate API calls: one to create the envelope with the first document and another PUT call to add a document to the existing envelope.   

Thread: Docusign REST API .Net framework SDK - How to correctly generate token (error: issuer_not_found)

Summary: The developer is trying to authenticate and obtain an access token for a client app that is not a web app and is getting the error {"error":"invalid_grant","error_description":"issuer_not_found"}"

Answer: The best way to authenticate an app that does not contain any UI is to use JWT (JSON Web Token) Grant. This method still requires user consent. The user has to agree that the API can make calls on their behalf without them being present. The C# SDK has methods that make it easier to use OAuth with Docusign. These include the method GetAuthorizationUri(clientId, scopes, redirectUrl, OAuth.CODE, null) which can be used to generate a custom URL for granting consent if your app can call a web browser. 

Additional resources

Inbar Gazit
Inbar Gazit
Sr. Manager, Developer Content