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?
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.
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:
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).
I'll try to be clear to hopefully get the answer I'm looking for. If I need to I can start a new thread if this is not related (I was an Adobe Community Expert so I'm familiar with the proccess...)
I can just ignore it as it works...but I always like to find out why things throw an error.
if I include this files from the local instead of cloud, will the issue be fixed?
I mean could we have access to those files so we download them and add them ro the project then we see whats happening
but I think the best solution is that this api should be as package and it must be configured with app so those warning willl not appear
Do you have those files to include? You could just serve blank files, if not. But it's probably better to edit the js files to remove the reference to the map files.