Skip to main content
New Participant
October 11, 2020
Answered

Not able to test PDF embed API

  • October 11, 2020
  • 1 reply
  • 2682 views

Only last week came across PDF Embed API by Adobe and I am trying to integrate this on our web application.

Have got the credentials generated for the domain

However in local, getting this warning when doing inspect:

DevTools failed to load SourceMap: Could not load content for https://documentcloud.adobe.com/view-sdk/2.10.3_1.10.0-1257dda/private/main.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE

 

What am I doing wrong?

This topic has been closed for replies.
Correct answer Joel Geraci

Links to PDF files store in Document Cloud are links to PDF experiences, not direct links to the PDF files themselves. In order to use Embed API, you need to provide a direct link to the PDF.

1 reply

Joel Geraci
Joel GeraciCorrect answer
Inspiring
October 13, 2020

Links to PDF files store in Document Cloud are links to PDF experiences, not direct links to the PDF files themselves. In order to use Embed API, you need to provide a direct link to the PDF.

elaine montoya
Known Participant
November 23, 2020

I'm having this same issue. I'm new to this platform. Are you saying you can't use the Embed API for local PDFs? I'm currently using it this way and everything loads great. But.. there are 403 errors behind the scenes:

- main.js.map
- interface.js.map

Brainiac
November 24, 2020

No, that wasn't what  he was saying. Joel was saying you can't use the Embed API for PDF files in Document Cloud. If you have the same issue (files in Document Cloud not working in Embed API), you have the same solution (do not use Document Cloud).