Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

end-of-file (EOF) marker as required by the PDF standard (ISO-32000 7.5.5)

New Here ,
Mar 30, 2021 Mar 30, 2021

I'm trying to upload a PDF to a site but, no matter what I do, I keep getting the following error message:
This PDF file cannot be added because it is corrupt. The file did not end with the end-of-file (EOF) marker as required by the PDF standard (ISO-32000 7.5.5).

 

Can anyone please suggest a workaround? I am not very tech savvy so the simpler the solution the better. 🙂

TOPICS
Edit and convert PDFs , How to , Windows
6.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 30, 2021 Mar 30, 2021

Hi Martin,

 

Hope you are doing well and sorry for the trouble. As per the issue description mentioned above, you are receiving  "File did not end with EOF marker" error when uploading pdf files onto a website.

 

Does this happen with specific pdf files? Have you tried uploading other pdf files and check if you are still getting the error?

Also, what is the version of the Adobe Acrobat/Reader DC you are using? To check the version go to Help > About Acrobat and make sure you have the latest version 21.01.20145 installed Go to Help > Check for Updates and reboot the computer once and see if that helps.

 

Once you install the new version of the application, please try to resave the PDF file with new name and then try to upload it and check if that works.

 

Regards

Amal

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 30, 2021 Mar 30, 2021

What can you see at the end of the file when you open the file in a text editor, like Notepad?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 26, 2022 Sep 26, 2022

%%EOF

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 17, 2023 Apr 17, 2023
LATEST

If you look into hex editor you will see it has 0D 0A and then the problem: 0x00. That very last byte 0x00 is what causes the issue.

 

0D 0A is not a problem, Acrobat and Distiller both write pdf that ends like that.

 

See: https://github.com/vbuch/node-signpdf/issues/35

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines