Skip to main content
Question

Receiving corrupt documents with GetDocumentAsync after updating to esign dll 6.0 from 5.2

  • 5 September 2024
  • 1 reply
  • 9 views

We recently started having a problem with the 5.2 version (RestSharp error). We updated to the 6.0.0 version and everything is working as expected except for calls to Envelopes API GetDocumentAsync to retrieve the signed document.

It doesn’t throw any errors, and we’re handling the stream returned in the same was as before, but now these signed PDFs can’t be opened. Adobe states: “There was an error opening this document. The file is damaged and could not be repaired”.

If we go into the Admin dashboard we can view and download these just fine. So there is some change in that API call, but I can’t find anything in the documentation or change logs to point to.

Hi Chris,

This sounds like an incomplete download. Please test the code with a very small envelope (one page), and if needed open a case directly with DocuSign Support so we can investigate further.

Best regards,
Conar | DocuSign Developer Support


Reply