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.