Cannot send package without approvals.
Friday, July 20, 2018 at 09:29amI am trying to run a simple application which does not do much. It simply attempts to wrap a sample PDF around an e signature and the error I get is
Silanis.ESL.SDK.EslServerException
HResult=0x80131500
Message=Could not send the package. Exception: The remote server returned an error: (400) Bad Request. HTTP POST on URI https://sandbox.esignlive.com/api/packages/8e_mjoZZHOqAhiDP_8bMcX8ZJdE=. Optional details: {"messageKey":"error.validation.sendPackage.noApprovals","message":"Cannot send package without approvals.","code":400,"name":"Validation Error"}
Source=Silanis.ESL
StackTrace:
at Silanis.ESL.SDK.Services.PackageService.SendPackage(PackageId packageId)
at Silanis.ESL.SDK.EslClient.SendPackage(PackageId id)
at eSignLive.Services.EslPackageCreation.CreatePackage(FormModel model, String apiKey, String baseUrl) in
.......
Help greatly appreciated.
Reply to: Cannot send package without approvals.
Friday, July 20, 2018 at 09:44am.WithSingature()function to create an approval. And a standard way to create DocumentPackage looks like below:DocumentPackage superDuperPackage = PackageBuilder .NewPackageNamed("Test Package .NET") .WithSettings(DocumentPackageSettingsBuilder .NewDocumentPackageSettings()) .WithSigner(SignerBuilder .NewSignerWithEmail("[email protected]") .WithFirstName("Signer First Name") .WithLastName("Signer Last Name") .WithCustomId("Signer")) .WithSigner(SignerBuilder .NewSignerWithEmail("[email protected]") .WithFirstName("Your First Name") .WithLastName("Your Last Name")) .WithDocument(DocumentBuilder.NewDocumentNamed("sampleAgreement") .FromStream(fs, DocumentType.PDF) .WithSignature(SignatureBuilder .SignatureFor("[email protected]") .OnPage(0) .AtPosition(175, 165)) .WithSignature(SignatureBuilder .SignatureFor("[email protected]") .OnPage(0) .AtPosition(550, 165)) ) .Build();Hope this could help you!Reply to: Cannot send package without approvals.
Friday, July 20, 2018 at 10:02amReply to: Cannot send package without approvals.
Friday, July 20, 2018 at 10:05amReply to: Cannot send package without approvals.
Thursday, January 17, 2019 at 09:42amReply to: Cannot send package without approvals.
Thursday, January 17, 2019 at 10:21amHTTP Request POST /api/packages/{packageId}/roles HTTP Headers Accept: application/json Content-Type: application/json Authorization: Basic api_key Request Payload { "id": "ExampleSignatureId", "type": "SIGNER", "signers": [ { "email": "[email protected]", "firstName": "John", "lastName": "Doe", "id": "Signer1" } ], "name": "Signer1" }#3. upload the documentHTTP Request POST /api/packages/{packageId}/documents HTTP Headers Accept: text/html Content-Type: multipart/form-data Authorization: Basic api_keyin request body, select form-data, add a key named "file" and choose file type, then select your file as value add a key named "payload" and there seems something wrong with your json, as you were using text tags feature, so you need to set document extraction on and don't need to specify the approvals and set the x/y coordinates for your signatures: { "id": "sample-contract", "name": "Test Document", "extract": true, "data": { "esl_doc_extract_type": 1 } } #4. send package like you did. Hope this could help! DuoReply to: Cannot send package without approvals.
Friday, January 18, 2019 at 07:12amReply to: Cannot send package without approvals.
Friday, January 18, 2019 at 07:39amReply to: Cannot send package without approvals.
Thursday, February 14, 2019 at 10:43am