Trending Topics: Latest from our forums (October 2020)
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
https://stackoverflow.com/questions/64453757/
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.
Thread: DocuSign API returning errorCode REQUEST_ENTITY_TOO_LARGE
https://stackoverflow.com/questions/64427221/
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)
https://stackoverflow.com/questions/64172792/
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.