EricS

Error When Uploading PDF to Esign Live

0 votes
I am working on a project where we will submit documents to ESign Live from our electronic document storage system. Whenever the primary application stores the documents electronically, it automatically protects the PDF document from modification with a password. I do not have the ability to change this but I do have the necessary information to use PDFSharp.net to create a new document for submission to Esign Live that will not be secured. The issue I am having is when the document is submitted to ESign Live, it returns a failed validation error with no other details for me to troubleshoot what the failed validation is. Does anyone know if there are certain document properties that must be set for a PDF to be accepted by ESign live? Here is the ESign Live stacktrace returned by the .NET SDK: Result Message: Test method Regions.Mortgage.SilanisServices.UnitTests.PackageTests.SendPackage threw exception: Silanis.ESL.SDK.EslServerException: Could not upload document to package. Exception: The remote server returned an error: (500) Internal Server Error. HTTP POST on URI. Optional details: {"code":500,"entity":null,"message":"Unexpected Error. Our technical staff have been notified and will look into the problem. We apologize for any inconvenience this may have caused you.","messageKey":"error.internal.default","name":"Unhandled Server Error","technical":"error.eslx.inputValidation.documentPreverifyError [#2d242209-0116-40a5-8667-bad458342baf]","packageId":null} ---> Silanis.ESL.SDK.EslServerException: The remote server returned an error: (500) Internal Server Error. HTTP POST on URI . Optional details: {"code":500,"entity":null,"message":"Unexpected Error. Our technical staff have been notified and will look into the problem. We apologize for any inconvenience this may have caused you.","messageKey":"error.internal.default","name":"Unhandled Server Error","technical":"error.eslx.inputValidation.documentPreverifyError [#2d242209-0116-40a5-8667-bad458342baf]","packageId":null} ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. Result StackTrace: at System.Net.HttpWebRequest.GetResponse() at Silanis.ESL.SDK.Internal.HttpMethods.MultipartPostHttp(String apiToken, String path, Byte[] content, String boundary, AuthHeaderGenerator authHeaderGen) --- End of inner exception stack trace --- at Silanis.ESL.SDK.Internal.HttpMethods.MultipartPostHttp(String apiToken, String path, Byte[] content, String boundary, AuthHeaderGenerator authHeaderGen) at Silanis.ESL.SDK.RestClient.PostMultipartFile(String path, Byte[] fileBytes, String boundary, String json) at Silanis.ESL.SDK.Services.PackageService.UploadDocument(DocumentPackage package, String fileName, Byte[] fileBytes, Document document) --- End of inner exception stack trace --- at Silanis.ESL.SDK.Services.PackageService.UploadDocument(DocumentPackage package, String fileName, Byte[] fileBytes, Document document) at Silanis.ESL.SDK.EslClient.CreatePackage(DocumentPackage package)

Reply to: Error When Uploading PDF to Esign Live

0 votes
Could you post the code you're using to upload your PDF (or email it to me?)? If you write this file out to your file system and try to upload it using the UI, does it also fail? If there is no personal/confidential info in the document, can you also send that to me?

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


Reply to: Error When Uploading PDF to Esign Live

0 votes
Thanks! I will take a look!

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


Reply to: Error When Uploading PDF to Esign Live

0 votes
Email sent.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off