title: “The validation of the PDF file failed.” When trying to send a generated PDF via email - DocuSign
body: <p>We have some code which downloads a PDF file from Google Drive using the Drive API, after that we use the file to build a new envelope and send it to the customer.</p>
  <p>Using the same file, some of these requests work, and some come back with an error &quot;PDF_VALIDATION_FAILED&quot;.</p>
  <p>I have the log(<a href="https://drive.google.com/file/d/1o13wGvDjY58kc3iLkm8rM_lk1aclKEx6/view?usp=sharing" rel="nofollow noreferrer">file</a>) file which contains the base64 of the file and the request information, using an external tool to convert the base64 to PDF it seems to be valid and also I tried to open the file using Adobe acrobat and the document appears fine.</p>
  <p>Is there any documentation on what makes a pdf invalid?</p>
  <p>Thanks in Advance</p>