Unlock the full value of DC Web with our global community.
Recently active
I need to change the workflow of my application based on the error messages, for example, if the API throws no. of pages exceeded message I can split the page content based on the status code. Couldn't find any material on errors/exceptions/status codes in the documentation section.
Still getting 403 errors and trying to figure out why. Happens everytime a PDF loads. I downloaded the demo files, and it happens with them as well. Even happens on Adobe's PDF Embed Demo site.Live site 403: https://documentcloud.adobe.com/view-sdk/2.10.3_1.10.0-1e3411b/private/ViewSDKInterface.js.mapDemo files 403:https://documentcloud.adobe.com/view-sdk/2.10.3_1.10.0-1e3411b/private/ViewSDKInterface.js.mapAdobe's Demo Site 403 errors:https://documentcloud.adobe.com/view-sdk/2.10.3_1.10.0-617dd66/private/main.js.maphttps://documentcloud.adobe.com/view-sdk/2.10.3_1.10.0-1e3411b/private/ViewSDKInterface.js.maphttps://documentcloud.adobe.com/view-sdk/2.10.3_1.10.0-1e3411b/private/dc-app-launcher.js.maphttps://documentcloud.adobe.com/dc-core/2.10.3/private/dc-core.css.map... and more.
Hey there.I was using the Embed API lst night and all of a sudden, it stopped working - screenshot attached. It's not just specific to one PDF, I tried another one and got the same answer. Tried on different browsers and still got the same answers.The PDF viewer sometimes loads, but annotations are not loading at all and can't add any annotations either.I saw some other related posts, but there wasn't a clear solution. Please help!
While testing, noticed that PDF are not rendered and it happens very intermittenly showing a blank page. Console shows below error:- Could not load content for https://documentcloud.adobe.com/view-sdk/2.15.0_2.2.0-2020030/private/ViewSDKInterface.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE
I am using PDF Embed API to embed pdf files, but some pdf files are not loading. Random files not opening. Moreover, I got this error "PREVIEW_RENDERING_FAILED" PDF file not loading: https://www.nammakalvi.in/uploads/3/0/7/5/30750087/namma_kalvi_10th_science_biology_ganga_guide_em_218967.pdf
Hi, Seems i've stumbled across the most uncommon and hard to answer question ever. So far chat support has given up. Hope maybe someone here stumbled across the same question: We intend to use the Adobe Document Generator API to create digital documents such as order confirmations, invoices and so on. Now that means that there's customer data (subject to GDPR) being processed trough the Adobe Cloud. As a US based company Adobe is subject to the Presidential Act hence in theory could be forced to hand out data to the US govement which would include their clients data which then obviously would breach our local GDPR rules. Question: Is there any documentation or official statement from Adobe as to how they deal with that challange ? A.i. no data is stored in that process at all, data is encrypted/inaccessible for Adobe themselves and so on. Any hint would be much appreciated.
We're using the Adobe generated annotation ID guid for records we're saving into our database. Here is an example: "5b88956c-f62b-8c17-32h8-286beb8e8b5" Which type of GUID format is this? It does not adhere to the UUID standard.https://www.uuidtools.com/decode It appears this format is not adhering to the UUID standard. Can someone confirm which UUID standard the annotationId is?
Hey there, I have embedded my PDF with the PDF API Script into my wordpress Website and I have the WP-Rocket Cache Plugin. I am facing two major some issues that I need to have solved. At first, I have the API Embed Script integrated like this in the body of the website:<div id="adobe-dc-view" style="width: 100%;"></div> <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <script type="text/javascript"> document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCView = new AdobeDC.View({clientId: "6b0c4686e1b842909660a955344f3322", divId: "adobe-dc-view"}); adobeDCView.previewFile({ content:{location: {url: "https://my-ul/wp-content/uploads/YYYY/MM/my-ebook.pdf"}}, metaData:{fileName: "my-ebook.pdf"} }, {embedMode: "IN_LINE", showDownloadPDF: false, showPrintPDF: false}); }); </script> So I have the following issues here:1. The PDF I am embedding won't display, when the WP-Rocket Cache Plugin is act
I am tryin to convert the pdf on this url https://www.cba.am/AM/laregulations/Regulation_33.pdf to html. we are using the pdf service api. we post the file to the adobe engine it then return us a json file we parse the structure generate the html. but all the text in Armanian come back as gobaldy goo 😉 see json file attached any help much appreciated. Chamal
Hi, I have an inline embedding of my PDF in that page and I see the PDF in previewmode. However, when I when I see the page as an external visitor, I see only the headline but not the PDF. Any Idea where the issue could come from? The DIV of the ADOBE ID is visible but it's essentially emtpy in the frontend.Here's the URL: https://erfolgreich-freelancer.de/finanzverwaltung-e-book-testleser
how to use PDF Embed API on my local server with IP address example http://172.16.112.83:1100/myfile.pdf
I have a very piculear problem. I want to use the Embed API in my web application and went trough the process of installing it getting the credentials etc. I have a list of items each with its own drawing (can be the same drawing can be different)When i click the button "View Drawing" in my application it open quickly without much problems. but when i close the Boostrap model and try to click an other "View Drawing" the drawing just is not loading at all. After some debugging i think its related to some files Adobe's javascript file caches. since this is all hosted on Adobe's website i can not find the root cause. The funny thing is when i try to use Chrome incognito function i have no problems at all.Any idea on how to solve this?Please find below how i have implemented the adobe preview file. this is called everytime i call "fetch document link from my api"$("#mdlViewPDF").modal("show"); link = baseAPILink + ajaxResult.substring(
I'm testing a PowerAutomate/Logic-App solution using Adobe PDF services connectors. My concern is that all connectors are tagged (Preview). Is this because I'm using a test credentials vs. paid credentials? Should I be concerned that Preview versions don't yet have final stable versions?
I don't know, what's wrong here? I'm always getting the error message:The requested document was not found on this server.<script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <script type="text/javascript"> document.addEventListener("adobe_dc_view_sdk.ready", function(){ var name = '<?php echo $_GET["p3"]; ?>'; var directory = 'https://domain.xy/resources/'; var adobeDCView = new AdobeDC.View({clientId: "key", divId: "adobe-dc-view"}); adobeDCView.previewFile({ content:{location: {url: directory.concat(name)}}, metaData:{fileName: name} }, {embedMode: "SIZED_CONTAINER"}); }); </script> The pdf-files are stored in the directory "resources" under the domain "domain.xy".
[INFO ] 2021-09-30 15:14:13.746 [com.adobe.pdfservices.operation.samples.extractpdf.ExtractTextT - All validations successfully done. Beginning ExtractPDF operation execution[WARN ] 2021-09-30 15:14:30.679 [com.adobe.pdfservices.operation.samples.extractpdf.ExtractTextTtion exception encountered while executing request ims.session_token[ERROR] 2021-09-30 15:14:30.679 [com.adobe.pdfservices.operation.samples.extractpdf.ExtractTextToFromPDF - Exception encountered while executing operationcom.adobe.pdfservices.operation.exception.SdkException: Request could not be completed. Possibleat com.adobe.pdfservices.operation.internal.http.HttpClientWrapper.executeApacheHttpReques-sdk-2.1.0.jar:?]at com.adobe.pdfservices.operation.internal.http.HttpClientWrapper.executeRequest(HttpCl.0.jar:?]at com.adobe.pdfservices.operation.internal.http.HttpClientWrapper.lambda$send$0(HttpCli0.jar:?]at net.jodah.failsafe.Functions.lambda$resultSupplierOf$11(Functions.java:283) ~[failsafat net.jodah.failsafe.in
Hi there,I'm trying to use 'Adobe View' to embed a PDF on a webpage. I've followed the process detailed on this page, which leads me to the 'Document Cloud View SDK Demo' page, then I can copy the code generated. After pasting this into my webpage and previewing it, I can see the Adobe hosted PDF fine, however when I replace the URL under content option with the URL to my own PDF, then reload my web page, I recieve the following error message... "File preview error. File preview not available, please reload to try again" I've tried adding other PDF's hosted in other locations but to no avail. Does anyone know how I use my own PDF? I've attached some screen shots of the code working, albeit with the Adobe Preview PDF, and another when it fails after I try to use my own hosted PDF.
Console is getting a lot of errors, I think it is slowing down the viewer. console shows errors while the PDF is loading. DevTools failed to load source map: Could not load content for https://documentcloud.adobe.com/dcpreviewdropin/2.14.0_1.838.0/private/printHelper_main.6882a4f5.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE Access DeniedYou don't have permission to access "http://documentcloud.adobe.com/dcpreviewdropin/2.14.0_1.838.0/private/printHelper_main.6882a4f5.js.map" on this server.
Today, I deployed my app from localhost to my production site (with different domain name of course). Later, I discovered that every credential for PDF Embed API can only support one single domain; therefore, I tried to create another project with a new credential for my production site. But when I tested it on my localhost with the same API key that I used for localhost again, no error was logged on the browser console except a blank HTML container (with the expected height and width though).Later I thought it could be due to CORS issue (although less likely, because the PDF URL is hosted my own website with CORS header allowed all (*)), so I tried with the PDF URL given by the demo: https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea%20Brochure.pdf Still no luck. Below is my code just in case you need to make sure I did it right: document.addEventListener("adobe_dc_view_sdk.ready", function () { let adobeDCView = new AdobeDC.View({ clientId: "4d80b79560164302a9aff
The text Find object locations is at 181px from left in the PDF, however, the JSON output from the PDF Extract API returns this: { "Bounds": [ 108.02000427246094, 692.2299957275391, 246.02609252929688, 708.1900024414062 ], "ClipBounds": [ 108.02000427246094, 692.2299957275391, 246.02609252929688, 708.1900024414062 ] }From what I understand, 108 is bottom left location of text.However, as per the PDF it is 180px.Can you help understand the relation here? Note: Input PDF has been attached. Thanks!
We know that the embedded PDF itself has the download button, but for better user experience, we want to create a larger download button that allows our users to easily notice it and download the PDF file. Unfortunately, as we all know, the HTML5's download attribute is for the same-origin only. Therefore, we wonder if Adobe PDF Embed API could expose a download method from their AdobeDC.View object that will work exactly the same as the download button in the embedded toolbar. Any chance to have that feature or it's already available but I could have missed something?Thank you.
Hi, I've tested PDF Extract both in .Net and in Python on this simple form (attached). It always fails on FileRef result = extractPdfOperation.Execute(executionContext); or in Py result: FileRef = extract_pdf_operation.execute(execution_context)The Api works fine on documents without form fields, but when those are present, it fails. Here's the error message as shown from a Python script: INFO:adobe.pdfservices.operation.pdfops.extract_pdf_operation:All validations successfully done. Beginning ExtractPDF operation execution ERROR:root:Exception encountered while executing operation Traceback (most recent call last): File "C:\Users\Tomek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\adobe\pdfservices\operation\pdfops\extract_pdf_operation.py", line 134, in execute ExtractPDFAPI.download_and_save(location=location, context=execution_context, file_location=file_location) File "C:\Users\Tomek
Where would I find pdfservices-api-credentials.json or an example of it? It's not in the config.zip downloaded during the Get Started Workflow. The only files contained in the zip are the private key and public cert.
Newbie to the embed API here - trying to create a credential to test the embed PDF API, but I'm getting an internal server error - try again no matter what I try. (The domain is a valid one - I tried google.com and others without success as well.) Is it something I'm doing wrong or is there something else going on?
Hello everyone, I'm trying to make a docx template where for some paragraphs one or another word would appear in the paragraph. This is how I'm trying to achieve it: ...voornoemde {% conditional-section expr(hasCollectiveAgreement = true) %}cao{% end-section %}{% conditional-section expr(hasCollectiveAgreement = false) %}Policy Eindejaarspremie{% end-section %}.Document merging works fine if I use only one conditional-section within a paragraph, but whenever there are two side by side like shown above, the merging process doesn't pick the conditionals and leaves the text with as is. I tried putting some text netween the two conditional-sections but it didn't work.How can I solve this ?
Hi, I'm writing a react app where users may add annotations to a pdf which is being hosted in Dropbox. My problem is when there are multiple users accessing the file only one user can save the annotations and the annotations from other users are being ignored. Any ideas? Also, is it possible to show annotations from other users in real time?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.