File upload failed the pdf contains invalid header data
Description of Issue
Error when attempting to upload a TCM invoice attachment.
Getting File upload failed: The pdf contains invalid header data when trying to import a PDF to TCM
Context
Enterprise ERP
Munis
Content Manager
TCM
TCM HTML Viewer
Cause
Resolution
If this is only happening with one single PDF, please try converting the PDF to a newly saved file as it may be corrupt.
Open the PDF outside of TCM
Navigate to File > Print > instead of selecting a printer, choose Microsoft Print to PDF or Adobe PDF. This will convert/save the PDF as a new file.Â
Attach the newly saved file to TCM and test again.
Additional Information