User getting error "No Role found for signer email [email address]"
Thursday, February 28, 2019 at 03:55amOur client is receiving the above error message when trying to send a package. We are not creating and sending a CustomID, so not sure what the problem is. They only receive this error periodically.
Here is the log file error:
02/28/2019 08:30:39.00: No Role found for signer email [email protected]
02/28/2019 08:30:39.00: at Silanis.ESL.SDK.DocumentConverter.FindRoleIdForSigner(String signerEmail, Package createdPackage)
at Silanis.ESL.SDK.DocumentConverter.ToAPIDocument(Package apiPackage)
at Silanis.ESL.SDK.Services.PackageService.UploadDocuments(PackageId packageId, IList`1 documents)
at Silanis.ESL.SDK.EslClient.CreatePackage(DocumentPackage package)
at Contraxx.External.CtxPackageInfo.BuildAndSendPackage(List`1 documents, String exDate, Int32 firstReminder, Int32 daysBetweenReminders, Int32 numReminders)
Here is our code to create a signer:
SignerBuilder newSigner = SignerBuilder.NewSignerWithEmail(signer.email)
.WithFirstName(signer.firstName)
.WithLastName(signer.lastname)
.WithTitle(signer.title)
//.WithCustomId(signer.ID)
.SigningOrder(signer.signingOrder)
.WithEmailMessage(signer.emailMessage);
pkg.WithSigner(newSigner);
Reply to: User getting error "No Role found for signer email [email address]"
Thursday, February 28, 2019 at 04:29amEslClient.CreatePackage(DocumentPackage package)
function? Also, a completed code snippet of your workflow could help troubleshoot this issue. You can both share the code in this thread or send to [email protected]. DuoReply to: User getting error "No Role found for signer email [email address]"
Thursday, February 28, 2019 at 04:43amReply to: User getting error "No Role found for signer email [email address]"
Thursday, February 28, 2019 at 05:37amEslClient.CreatePackage(DocumentPackage package)
function. Internally, SDK will separate the process into three calls: 1. first create a package with signers and all other settings 2. retrieve the created package 3. then, upload document files and their metadata. In this process SDK will compare the retrieved package to the object you created locally, the exception appears right in this step when SDK was converting SDK object to REST object, it was trying to matching the signer you set in your document object locally to the created package. So my suggestion here could be, you can useEslClient.CreatePackageOneStep(DocumentPackage package)
instead CreatePackage where a fully-baked package will be sent within one call vs three calls. And as I mentioned above, even though you didn't receive PackageId object due to the exception, a package actually should have been created where you can check on your webportal(sandbox/apps.esignlive.com/login). DuoReply to: User getting error "No Role found for signer email [email address]"
Thursday, February 28, 2019 at 10:39amReply to: User getting error "No Role found for signer email [email address]"
Thursday, February 28, 2019 at 11:22am