Skip to main content
Known Participant
May 18, 2023
Question

t5::corrupt_data in the PDF Embedded API viewer

  • May 18, 2023
  • 2 replies
  • 946 views

 

Our viewer newly reports:

index.js:1 Exception: t5::corrupt_data,

 

The PDF is fetched through a URL. I can use the same URL to download the pdf and load it into Preview, Google Drive, Foxit viewer, etc.

 

And I can see that there was recently a new release:  https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/releasenotes/#may-2023

 

Is there something we need to change on our side to get this working again?

 

Thanks in advance

This topic has been closed for replies.

2 replies

Known Participant
May 18, 2023

Sorry for the dupe.  This is a duplicate of: https://community.adobe.com/t5/acrobat-services-api-discussions/new-error-t5-corrupt-data-in-the-pdf-embedded-api-viewer/td-p/13801026

 

I was attempting to move this discussion to the correct place and in the meantime that orginal post got moved here too. 

Please ignore this thread and using the link above.

Known Participant
May 18, 2023

After more testing I have verified that this the viewer does not like the bits in the pdf.  I tried with the adobe sample pdf and it works fine.

 

However, I'm still trying to sort out why it doesn't work now with the PDF'S that it used to work with just recently.

 

Is the new version of the viewer more strict with regards to the validation of the pdf?  

 

We are using Aspose PDF to programmatically build the PDFS and they were working without issue up until recently.

 

Thanks for any help you can provide.