-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Start Embedded Signature. Blank Screen + ProgressView. #171
Comments
Hi @jonathansds ,
2/3) Since you are using an In Person Signer, you will need to use the Host's information instead of the signer's information in your create view request: https://developers.docusign.com/docs/esign-rest-api/how-to/send-envelope-to-in-person-signer/ It sounds like you figured this part out, but are still having issues with the embedded view. To troubleshoot this it would be very helpful to look a network trace (HAR file) and the console logs. Since a HAR might contain sensitive info, I would suggest reaching out to Docusign support. Here's the link to open a support case with DocuSign: https://support.docusign.com/s/articles/How-Do-I-Open-a-Case-in-the-DocuSign-Support-Center?language=en_US |
Hi @smd9788 ,
As I provided in the code, I make the login call and save the result in a property called
When trying to access the
Indeed, as a test, I called I would like to point out that if using the host information on
Not only the documentation says to use the SIGNER information but also the method parameters' names mention RECIPIENT name and email. Nothing seems to point out that we should send the host information. Now, coming back to the issue, after I update my "DSMEnvelopesManager().presentCaptiveSigning" call to the below:
I now see the initial signing screen but with a ProgressView on top that does not dimiss so I am unable to proceed (see image attached). Also, the problem with the "host" and "accountId" not being available inside "DSMAccountInfo" persists. Thanks for taking the time to help me out. I will provide you with the information from the HAR file (don't worry, I will omit sensitive information) and the console logs in the next comment. Again, I appreciate the help. |
Hi @smd9788 , I haven't tested actually completing the signature yet (I went as far as actually drawing the signature but didnt click to confirm) as I need to fix some details with language and anchor string yet but should be fine I would say. Now I would say the only remaining issue for now is the Thank you! |
Any update on the issue? |
Hi @jonathansds - Thanks for adding all the details to this issue.
On the same envelope, are you able to perform the Captive-signing (also called Embedded-signing) for the IPS on desktop-web after requesting the signing URL? There is a Postman collection that has API to get signing URL. Once you create a captive-signing envelope with
Another call could be made to fetch the
^ this URL can also be generated on the backend and passed to the app -- it eliminates the use of tokens being sent to the apps. Please find additional details on authentication-less signing and life-span of the URL: Embedded-Signing Details -- Thanks. |
Hi @ashokds , Thanks for taking the time to look into this. unfortunately, we have a tight schedule on our side with the iOS development so for now, as a workaround we are using the |
Hi, good morning!
I need some help with the embedded signature. I am using Swift, XCode 15.4, simulator with iOS 17.5.
I am creating the envelope with the API:
EnvelopesAPI.envelopesPostEnvelopes(accountId:body:)
but them I am unable to start the embedded signature with:
DSMEnvelopesManager().presentCaptiveSigning(withPresenting:envelopeId:recipientUserName:recipientEmail:recipientClientUserId:animated:)
After calling the method above, just a blank screen and a ProgressView appear, nothing else. I enabled logs on DocuSign platform and after going through them (in attachments) I noticed that the below call:
POST https://demo.docusign.net/restapi/v2.1/accounts/<account-id>/envelopes/<envelope-id>/views/recipient
fails with error:
{"errorCode":"UNKNOWN_ENVELOPE_RECIPIENT","message":"The recipient you have identified is not a valid recipient of the specified envelope."}
I already added an extra call to verify the created recipients before starting the embedded signature but still, I couldn't identify any reason on why the recipient would not be válid. In the attached logs, there's also the result for the extra call getting all the receipients for the envelope.
I am using the below code and call sequence:
1) Start DocuSign Session:
After this call, no error happens but I noticed that inside
userSession
object,accountId
is empty and if I try to useuserSession.host
the SDK crash. For this reason, I am unable to directly useuserSession.host
neitheruserSession.accountId
in the creation of the envelope but I am sending the exact same values. THIS IS THE FIRST PROBLEM I BELIEVE I NEED A FIX FOR.2) Composing Envelope:
3) Trying to start the Embedded signature flow
As I mentioned, I already added an extra call before starting the Embedded Signature flow, retrieving all recipients for the created envelope, no errors were found and I used the exact data received from this call (which is the same I am sending anyways) to start the signature flow but the error persists (blank screen and ProgressView. Nothing else).
I also noticed that if, for the
presentCaptiveSigning
call, I swap therecipientUserName
andrecipientEmail
and send the HOST name and HOST email instead, the inicial screen for the signature flow appears but it appears behind the ProgressView which is not dismissed neither I found a way to dismiss it.It was just an experiment but I have doule checked the host values and signer values on both the envelope creation and from the get recipients call before the signature.
DOCUSIGN_LOGS_06-09-FILTERED.zip
The text was updated successfully, but these errors were encountered: