title: Need help regarding DocuSign eSignature url?
body: <p>We are using DocuSign Apex Toolkit to generate &amp; wned a DocuSign envelope whenever a new record is created and storing the envelope ID on the parent record. We have a lightning component on which we want to display the Envelope as an Iframe. We are using DocuSign "getSigningUrl" &amp; "getEmbeddedSigningUrl" methods. The former one returns "null" &amp; later one is giving error as "The recipient you have identified is not a valid recipient of the specified envelope.". Please suggest.</p>
  
  <p>using embedded method</p>
  
  <pre><code>Url retUrl = new Url('[sfdc base url]');
  String envelopeID = 'B33EBEFD-A64F-4D86-9034-6700AFB22EEE';
  dfsle.UUID uid = dfsle.UUID.parse(envelopeID);
  Url u = dfsle.SigningService.getEmbeddedSigningUrl(uid,retUrl);
  System.debug('u----&gt;'+u);
  </code></pre>
  
  <p>usign signing url method</p>
  
  <pre><code>String envelopeID = 'a271h000000L55d';
  dfsle.Envelope e = dfsle.EnvelopeService.getEnvelope(envelopeID);
  System.debug('e----&gt;'+e);
  Url retUrl = new Url('[sfdc base url]');
  Url u = dfsle.SigningService.getSigningUrl(e,retUrl,true );
  System.debug('u----&gt;'+u);
  </code></pre>