Questions
Recente
I want extract the content from a pdf (purchase invoices which is image based pdf) and get json response,as per the documentation i tried this code but i got this error or log message,what is this issue related to configuration? Here is the complete code (Node sdk)import { ServicePrincipalCredentials, PDFServices, MimeType, ExtractPDFParams, ExtractElementType, ExtractPDFJob, ExtractPDFResult, } from "@adobe/pdfservices-node-sdk"; import * as fs from "fs"; import AdmZip from "adm-zip"; import dotenv from "dotenv"; dotenv.config(); // console.log(process.env.PDF_SERVICES_CLIENT_SECRET); class AdobeExtractAPI { async extractTextFromPDF() { try { // Initial setup, create credentials instance const credentials = new ServicePrincipalCredentials({ clientId: process.env.PDF_SERVICES_CLIENT_ID, clientSecret: process.env.PDF_SERVICES_CLIENT_SECRET, }); // Creates a PDF Services instance const pdfServices = new PDFS
Dear All, I am creating a simple single page mobile app built using SAP MDK which creates a PDF document from .docx template using merge API. However, after recieing the bearer token when I make my call to https://pdf-services-ue1.adobe.io/assets, I get :"response": { "status": 401, "statusText": "UNAUTHORIZED", "text": "{ \"error\": { \"code\": \"Unauthorized\", \"message\": \"Oauth token is not valid\", \"details\": { \"error_code\": \"401013\" } } }\n".My Code: I have obtained the bearer token following: https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication/implementation/#generating-access-tokens-programmatically But still I get the unauthorized error. Note: The same credentials /token work from Postman and some other Low code no code tools like SA
Hello,We are trying to use Adobe Embed API to allow our clients to fillout PDFs. We are able to fillout some PDFs, but not Government PDFs (W-2, W-4, I-9, etc.). The Government PDFs are displayable, just not fillable. If we open the Government PDFs in a browser or Adobe Acrobar Reader, then we are able to fill them out. Can Adobe Embed API be used for filling out Government PDFs? Is there something else that we need to do to enable filling them out? Thank you,-Ken B.
I am facing an issue while using the free trial API of Adobe to extract table data from PDFs in Python. When Adobe extracts the table data and returns XLSX files for each table, it often misses table values or incorrectly places values in the wrong columns. For example, if a table has two columns, Date and Price, Adobe sometimes replaces some Date values with Price values, and vice versa. However, when I test the same PDF on the Adobe frontend, the results are much more accurate. Why does this issue occur when using the Adobe API? I need guidance and help
We are using PDF embed API on the AEM webpages to open PDF documents for the end users. What we have identified is that, with certain PDF documents the 'Load PDF' analytics event is logged 2 times, which is skewing our analytics data. Below is the log trail as captured by the dataslyer browser extension.Can someone explain why this is happening and how it can be fixed as well ?
Hello, Iam a bit new to adobe. Iam working on a project to read out text/table information from pdf, extract it via python-SDK and use the extracted information to create new data sets in an external system.PDFs are created via web forms from adobe. I want to retrieve these documents using the v6 sign api.Currently Iam working with local pdf files. I have tried out plenty of standard-functions, however they all seem to have the same problem. I don't get consistent identifier for objects/paths, if some of the optional form-content won't be filled. Example:We are asking for customer names in the formular. If one of the optional check boxes aren't ticked I do receive different object-IDs. Also the provided path-information is differentiating.Additionally I expected just to have a NULL-value or something else if an optional content is not provided. However, It won't get listed at all. Is there a function that avoids this behavior? RegardsPatrick
Just got here and I see many many posts from people (I'm one of them now0 trying to get licensing and sales is nowhere to be found. No phone number, just a contact form that gets sent into the ether. Not even a confirmation email stating that we received your request and will get back to you shortly. Nothing. It's discusting. Msybe I can find a solution that will work for me from a company that actually cares about it's potential customers. Adobe is a joke.
Issue Summary : We are using Adobe PDF API Service Calls but running into trouble with a particular PDF file from a public content providers.The issue is we are not able to find a series of table in the export seen the PDF, we suspect some PDF formatting the be the cause of the issue.Question to Adobe Support Is there a way to log and compare errors on a locally exported Excel using Adobe Acrobat Pro desktop app against the result form the Acrobat Services API on the server to see if we determine what went wrong? --Bart
Hello everyone,I am currently working on a project where I need to extract structured data from PDF documents using the Adobe PDF Extract API. While most of the data is extracted correctly, I am facing an issue with some headings not being recognized as headings by the API.Example of the Issue:In the JSON output, certain headings are not recognized correctly. For instance: {"Path": "//Document/P[113]","Text": "1.4 Context of the Plan","Font": {"weight": 700},"TextSize": 13.5},{"Path": "//Document/H2","Text": "1.2 Transmission-Development-Plan 2023","Font": {"weight": 700},"TextSize": 13.5} In the above example, the first entry with Path: "//Document/P[113]" is a heading ("1.4 Context of the Plan") but is not recognized as such (please see attached image as well). However, the second entry with Path: "//Document/H2" is recognized correctly as a heading. I have a couple of questions regarding this issue: Has anyone else encountered similar issues with the Adobe PDF Ex
Hi All, I'm using adobe pdfservices-node sdk package to convert HTML with inline CSS to PDF, but suddenly since yesterday below issues started appearing and note that we haven't made any changes to the HTML templates for past 5 days.Issues we are seeing:1. page-break-inside and page-break-before are not working2. Named anchors are landing in wrong location when clicked in the generated PDF. When validating the anchors in the HTML, it is working fine but when converted to PDF it's going to wrong location. Please help us resolve this issue and note that the same template of HTML what we have was working fine without the above issues till yesterday morning. Thanks
We released a new API today for watermarking PDFs. We call it.. .the Watermark API. 😉 Docs here -> https://developer.adobe.com/document-services/docs/overview/pdf-services-api/howtos/pdf-watermark-api/ Currently SDK only. I've got a blog post planned for this that will hopefully go live soon. In the meantime, yuo can find two demo scripts here: https://github.com/cfjedimaster/document-services-demos/tree/main/watermark
We are into oil and Gas domain business and using a desktop application to C++ to create logs and then we need to print those logs in PDF format and for that we are exploring CreatePDFOperation of PDFServices API SDK for creating PDF using the HTML page and having following queries:Is there a way to set page margins for PDF? Currently it creates the PDF with some default margins and developer is not having any control to change the page margins.We are using PageLayout to set the page height and width and want to set the height of the PDF more than 200 inches. But it always creates the PDF up to 200 inches and create 2 pages instead of 1.Also, can we set other properties thru the API:DPIFit To Page Width or Height
Bonsoir,Je me suis enregistré auprès de Adobe j'ai téléchargé mon .zip avec le fichier .json contenant mes informations.Maintenant, j'essaie de compiler en c# le projet GetPdfProperties.J'ai remplacé"PDF_SERVICES_CLIENT_ID" par la string "client_id" contenant ma clé qui est dans mon fichier jsonet"PDF_SERVICES_CLIENT_SECRET" par la string "client_secret" qui est dans mon fichier jsonmais je pense que c'est plus compliqué que cela car lorsque je lance le projet j'ai une erreurERROR GetPDFProperties.Program - Exception encountered while executing operation System.ArgumentException: The ClientId field is required.;The ClientSecret field is required.je pense que mes ID ne sont pas liés à la dll où à mon compte Adobe.Merci pour votre aide.
Hi,We wanted to explore an option to use Acrobat Services API. Upon further analyzing the process, it looks like it actually uploads any PDF to Acrobat Cloud Server to do the conversion.Our requirement does not allow us to upload file outside of our organization becuase of PII/PHI. Is there any software (PDF to DOCX, or PDF extraction) that we can install on our servers and make an API call to that software on our servers?
Hey, I want to edit the text(value) in a JSON file extracted from pdf using extractpdf API and create a pdf using the same JSON file, so that the structure of pdf is the same, only the text is changed. is it possible to create a pdf using JSON? i see only 3 APIs : create-pdf-from-docx-options , create-pdf-from-docx , create-pdf-from-pptx in SDK.
Bonjour,Je voudrais savoir si avec l'API je peux ouvrir un pdf et en extraire page par page l'orientation et la taille du papier. Merci
Hi I hope someone can help. I am following the tutorial onb the get started page for PDF Services. i am currently on the last step where I cannot generate a pdf. the pdf get rendered but in XML saying "The request signature we calculated does not match the signature you provided. Check your key and signing method. " i have tried with auth headers and without nothing seems to work below is a snippet of the code export const checkCompressionStatus = async (jobId: string, token: string, clientId: string) => { console.log("id", jobId); // const url = `https://pdf-services.adobe.io/operation/compresspdf/${jobId}/status`; const url = jobId; console.log("url", url); try { const response = await fetch(url, { method: "GET", headers: { Authorization: `Bearer ${token}`, "x-api-key": clientId, }, }); console.log("res", response); if (!response.ok) { throw new Error("Failed to fetch compression status"); } co
I set up a free developer account yesteday and have been working on a solution for adding watermarks to a pdf. I'm able to make calls using api, but when I call POST /operation/addwatermark, I get this error: "error": {"code": "UNAUTHORIZED", "message": "Not authorised to perform the operation."}.Is this because I'm working on a free developer account or is there a way around this issue? I attached my request body (without my download uris for my documents)
I have been using Adobe Embed API on my website. It was working fine for quite some time but now it is working only on PC and showing "File preview not available " on the mobile. I hope there is no issue with the API and code base, as it works fine on PC. Link - https://home.mednotes.in/subjects/sub-topics/pathology/1.1 Any help would be much appreciated.
In Firefly, can an image be uploaded to help create a new AI image that is unique to only that user ?
when trying to click on the expand button in a sized container it doesn't open the pdf in full screen it only happens in IOS mobiles. is there something that should be configurable? site for test: https://nivina3.wixsite.com/my-site-234
Sorry if this is a very simple problem but I am relatively new to this. I tried installing the Adobe PDF Extract API from https://www.adobe.io/apis/documentcloud/dcsdk/pdf-extract.html. After following the steps in the README, I managed to successfully install the requirements.txt file and attempted to run the extract_txt_from_pdf.py. However, I am faced with the error: ModuleNotFoundError: No module named 'adobe'. Any solutions for this issue will be greatly appreciated.
I am google script to run AdobePDF Extract API. But the job is getting 'failed'. please see the detail posted below.function pdfExtractUmbrella(fileBlob) { const username = Session.getActiveUser().getEmail(); Logger.log("username: " + username); const user = apiExecutableVerifyUser(username); // user json Logger.log("user json inside pdfExtractUmbrella: " + JSON.stringify(user)); if (user) { .......... .......... .......... .......... const preSignedUriResponse = apiExecutableGetUploadPresignedUri(content_type); Logger.log('preSignedUriResponse: ' + JSON.stringify(preSignedUriResponse)); const uploadUri = preSignedUriResponse.uploadUri; const assetID = preSignedUriResponse.assetID; const uploadStatus = apiExecutableUploadFileToCloud(uploadUri, fileBlob, content_type); Logger.log('uploadStatus: ' + uploadStatus); const content_json = pdfExtractFn(assetID); Logger.log("content_json stringified inside pdfExtractUmbrella = " + JSON.stringify(content_json)); const contentDownloadUri = cont
What tag should we applpy in order to display the inner table conditionally? The inner table should display only if the array WBSCodes is there in the json.
Hello community,I want to embed a colour profile in a PDF file using Javascript.This works well with the following script: var toColorProfile = this.getColorConvertAction(); toColorProfile.matchAttributesAny = -1; toColorProfile.matchAttributesAll = -1; toColorProfile.matchSpaceTypeAny = -1 toColorProfile.matchIntent = toColorProfile.constants.renderingIntents.Any; toColorProfile.convertProfile = 'PSO Coated v3'; toColorProfile.convertIntent = toColorProfile.constants.renderingIntents.Any; toColorProfile.embed = true; toColorProfile.action = toColorProfile.constants.actions.Convert; toColorProfile.colorConvertAction = toColorProfile.constants.actions.Convert; this.colorConvertPage(0, [toColorProfile], []); But what i want to achieve is, that only the images are converted to the given colour profile and all other elements in the PDF are retained. In other words: i want to embed the colour profile with the settings shown in the screenshot, but with JavaScript.So my questi
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.