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

Thread: Generate JSON Web Token (RS256) to access DocuSign using Google Apps Script

https://stackoverflow.com/questions/69133483/

Summary: The developer is trying to obtain access tokens using JWT and is running the following code:

They get the Exception: Invalid argument: key returned by .

Answer: There are two separate issues here that need to be addressed:

First, the line should be replaced with and the be removed.

Second, the RSA private key is a text file whose first line is , not . This is a different type of RSA private key and cannot be used with this library.

Alternatively, the developer can use the DocuSign eSignature Node SDK, which includes built-in JWT methods that can be used to obtain access tokens.

Thread: Documents in Composite Template error in tabs

https://stackoverflow.com/questions/69200877/

Summary: This developer is using composite templates and is not seeing all the tabs that they expected to see in the envelope, which was built out of two templates.

Answer: There are two potential issues here. The elements in the request must include matching properties that are identical to the ones defined in the templates for the recipients. These recipients have tabs that are not showing. The tabs that were manually added to the composite template are not showing because they did not include any positioning information. Tabs must be positioned either by fixed positioning (using the , , and properties) or by using anchor strings.

Thread: DocuSign : login without user consent

https://stackoverflow.com/questions/69216970/

Summary: The developer is interested in sending an envelope with requests for signature for two signers. They require one signer to sign only after the other has finished.

Answer: To do that, you set up two recipients in your envelope with signing elements for each. The important thing is to set the routingOrder such that your first signer is "1" and the second signer is "2". This guarantees that the second signer will not get the email notification to request their signature until the first signer finishes signing the envelope.

Attachments

  • Original document
  • Permalink

Disclaimer

DocuSign Inc. published this content on 28 September 2021 and is solely responsible for the information contained therein. Distributed by Public, unedited and unaltered, on 28 September 2021 19:51:05 UTC.