Problem
When Generating a DocGen Package, a PDF Template or Attachment being merged into the output is corrupt somehow. When merging with other documents, the corrupt PDF corrupts the documents it is merging with, resulting in an error.
Solution
Resave or Optimize the PDF document and replace it in the DocGen Package run.
Option 1 - Save As:
- Open the PDF in Adobe Acrobat Pro
- File - Save As
- Select the location
- Rename the File
- Save
Option 2 - Optimized PDF:
- Open the PDF in Adobe Acrobat Pro
- File - Save as Other
- Select - Optimized PDF
- Select - OK
- Select the location
- Rename the File
- Save
Re-upload the newly saved document to the DocGen Package or Attachment and re-run the generation process.