When uploading a PDF to archive.org you may get an error that states: Uploaded content is unacceptable. Syntax error detected in pdf data. You may be able to repair the pdf file with a repair tool, pdftk is one such tool. I found [[https://archive.org/post/1105619/trying-to-upload-few-pdfs-i-get-syntax-error-detected-in-pdf-data|this post]] which provides a ghostscript command that worked for me on Linux: gs -o fixed.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress corrupted.pdf