Skip to main content
Known Participant
May 18, 2023
Question

NEW ERROR: t5::corrupt_data in the PDF Embedded API viewer

  • May 18, 2023
  • 14 replies
  • 5571 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.

14 replies

Legend
May 18, 2023

We don't know anything about the embed API. You need a different group of experts, and you will find them at -- Acrobat Services API - Adobe Support Community

kglad
Community Expert
Community Expert
May 18, 2023

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

 

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post if it helps you get responses.

 

<moved from using the community>

Participant
May 18, 2023

I'm having the same problem, CSP and CORS issues, that I've never had in the past.

The fact that @Marci29953097d1ua is able to render a document under adobe's subdomain could indicate the potential issue that something changed at Adobe's side. Is it possible that the CSP being violated is set by Adobe itself?

Known Participant
May 18, 2023

Update: It looks like an issue on my side. I tried hard coding the url to the adobe sample pdf "https://acrobatservices.adobe.com/view-sdk-demo/PDFs/Bodea Brochure.pdf" and with that url the new viewer does not have a problem. 

 

Any recommendations for a good PDF validator tool?

Known Participant
May 18, 2023

I verified in ChromeVersion 113.0.5672.92 (Official Build) (x86_64) on Mac OSX.