Trending Topics: Latest from our forums (September 2023)

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

Thread: DocuSign: No 'Access-Control-Allow-Origin' header

https://stackoverflow.com/questions/77038191/

Summary: The developer is building an integration that uses embedded signing. They created an envelope and redirected the browser to the embedded signing URL, but cannot sign the envelope. They see what they believe is a CORS-related error in the browser developer tools window.

Answer: The developer is confused. They’re not using CORS, the error message they see is an internal DocuSign error (which is not causing the problem they think they have). The reason for their issue is that they didn’t add any tabs to the envelope. CORS was a red herring in this situation.  

Thread: DocuSign JWT Auth Error while requesting server, received a non successful HTTP code with response Body

https://stackoverflow.com/questions/77055896/

Summary: The developer is using the DocuSign eSignature C# SDK and is trying to obtain a JWT access token. They are getting a 500 error message from the DocuSign server. 

Answer:  The issue in this case turned out to be using the wrong version of the TLS protocol. DocuSign requires that all HTTP calls use version 1.2 or above. The calling server may have been using version 1.1, which DocuSign no longer supports. 

The DocuSign C# SDK does not set the version of TLS; when using C# code, the version is set by the server and the rest of the C# application. 

The following two lines of code may be needed in situations where your code runs in the context of a legacy application or on an older server that still uses TLS version 1.1:

ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

Thread: How to Integrate DocuSign with your CodeIgniter web application using Postman?

https://stackoverflow.com/questions/77064259/

Summary: The developer is using CodeIgniter with PHP and is having problems adding the DocuSign eSignature PHP SDK to their code using Composer. 

Answer: Since CodeIgniter uses PHP, the best way to ensure you have everything you need to start coding with DocuSign is to use our Quickstart. This way you get all the code needed in a ZIP file that is also customized with the configuration information needed for you to authenticate and get access tokens to make API calls. 

Additional resources

Inbar Gazit
Author
Inbar Gazit
Sr. Manager, Developer Content
Published