Skip to main content
Participant
March 30, 2021
Question

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

  • March 30, 2021
  • 2 replies
  • 7016 views

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. 🙂

This topic has been closed for replies.

2 replies

Bernd Alheit
Community Expert
Community Expert
March 31, 2021

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

Participant
September 26, 2022

%%EOF

Inspiring
April 17, 2023

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

Amal.
Community Manager
Community Manager
March 31, 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