Skip to main content

 

PhoneAuthentication is received as null.

Code used to add Authentication is below: 

orignalSigners.IdCheckConfigurationName = "Phone Auth $";
                                    RecipientPhoneAuthentication recipientPhoneAuthentication = new RecipientPhoneAuthentication();
                                    List<string> senderProvidedNumbers = new List<string>();
                                    recipientPhoneAuthentication.SenderProvidedNumbers = senderProvidedNumbers;
                                    recipientPhoneAuthentication.SenderProvidedNumbers.Add(t.PhoneNumber);
                                    orignalSigners.PhoneAuthentication = recipientPhoneAuthentication;

 

Trying to get Signer with Authentication using following code but the signer.PhoneAuthentication is received as null:

 

System.Net.ServicePointManager.SecurityProtocol = (System.Net.SecurityProtocolType)3072;
                accountID = this.GetAccountID();
                EnvelopesApi envelopesApi = new EnvelopesApi(apiClient);
                envelopesApi.ApiClient = apiClient;
                Recipients results = envelopesApi.ListRecipients(accountID, envelopID);
                Envelope envelop = envelopesApi.GetEnvelope(accountID, envelopID);

                signerList = results.Signers;
                dict = new Dictionary<Envelope, List<Signer>>();
                dict.Add(envelop, signerList);

 

Please help me figure out what I am doing wrong while reading the recipients

Dear ARathore,

It looks like you’re trying to set up phone authentication for your DocuSign signer, but the PhoneAuthentication property is coming back as null when you retrieve the signer information. Let’s troubleshoot this.

1. Ensure Phone Authentication is Enabled

  • Make sure that phone authentication is enabled for your DocuSign account.

2. Check the Template Configuration

  • Verify that the template you are using has the phone authentication method configured correctly.

I would recommend you to follow this link for more information on how to do phone authentication: 
https://developers.docusign.com/docs/esign-rest-api/how-to/phone-auth/

 

Thank you so much and if you need any help you can raise a support case anytime at https://support.docusign.com 


Reply