Welcome to the Adobe Developer Community! Connect with peers to ask questions and share best practices.
Recently active
Team, I am trying to get an access token for 'Adobe Express Embed SDK' API through my python code. I have already integrated this API into my account in the developer console. However, the status of my project is 'In development' as I am testing the code. The scope mentioned on the credentials page is 'cc_embed'. However, whenever I am trying to generate an access token, I get the error, 'error=invalid_scope' (https://123-12345-12345-4125-1123.in.ngrok.io/redirect/?error=invalid_scope ) I can see this error URL in the browser when I hit the authorization URL to provide consent in the browser. (Note* The https URL is not exactly the same, I have changed the host and other details) Please note that my app is hosted on localhost, and I have used ngrok to create a secure tunnel to expose port 8000 through a secure tunnel. I have tried passing the following scopes and other possible combinations listed on the scopes page. But I am constantly facing th
Hi, I have a webhook created in Heretto and want to recieve and process that in AEM, How can I achieve this?I think I have to create a API in AEM to listen to the Webhook created in Heretto but Do we have any documentation on how to write and where to write a API in AEM that can listen for the payload from Heretto.Thanks,Tarini
I created an app using app builder and also got it approved. But it's not showing in "App builder catalog". The document doesn't mention if any access is needed for the App. We deployed the app in the Production workspace and tried to revoke , redeploy and reapprove the app from exchange, but it did not work. Any idea why ?
I am new in the AIO world, so for my proof of concept I am using and modifying the CIF reference project commerce-cif-graphql-integration-reference, but I am trying to create custom configuration values to connect to a 3rd party REST API. The goal is to have separate values per environment, for example: For namespace mycoolnamespace1: MY_API_URL = http://dev.mycookapi.com/rest/something MY_API_KEY = DEV123 For namespace mycoolnamespace2: MY_API_URL = http://qa.mycookapi.com/rest/something MY_API_KEY = QA123 For namepsace prod MY_API_URL = http://prod.mycookapi.com/rest/something MY_API_KEY = PROD123 Then have these variables available in 'params' to be used by my actions. However I don't know how to achieve this. Could some good soul point me to the right direction?
Hi All, I have created the Node JS Post API module to be deployed to Adobe IO runtime.I am making an Post call with query param and getting response when I directly run the index.js file my local. Then I used wsk cli to create package and added the action inside ithttps://developer.adobe.com/runtime/docs/guides/using/using_packages/When I invoke the basic Hello name code by cmd -wsk action invoke --result helloMyName/helloI am getting the response {"payload": "Hello stranger"} Even I am able to deploy it using "wskdeploy" cmd and it is successful.Then I modified the logic and added the Post Call login using "axios" module. I installed the axios package but still I am getting below axios module error while invoking the action.C:/>wsk action invoke --result hellopackage/hello{"error": "An error has occurred: Error: Cannot find module 'axios'\nRequire stack:\n- /nodejsAction/runner.js\n- /nodejsAction/src/service.js\n- /nodejsAction/app.js"} I only have index.js file and no othe
Hi there, We are looking at adopting PWA for our group e-commerce websites, and the team came across the App Builder for Commerce, announced back in January. Are there any examples, videos and/or tutorials, of app builder working with Commerce? I tried checking the Adobe Commerce and App Builder sites, but i can't find any examples of apps consuming the commerce API. Many thanks, Ademar
Hello, I'm trying to configure Adobe Commerce with Adobe ID and having 2 blocking issues currrently: 1) On Cloud environment, while configuration, I got asked about: Please enter your Organization ID, Client ID, Secret, 2FA: and always getting same error message: "The Client ID, Client Secret, Organization ID and 2FA are required when enabling the Admin Adobe IMS Module" 2) I decided to try maje the same on Local instance, and exactly same configuration showed me success message: Admin Adobe IMS integration is enabled 3) After trying to login locally, after login screen, I've got redirected to error page with text: error "invalid_scope" Can somebody advice what can be an issue with enabling IMS on environment and also why invalid_scope error is displayed. Thanks
I am trying to cache adobe IO responses and have set the cache control header to max-age 3600. The header is working and I can see cache Hit or Miss in the response headers. However, i have not figured out how to get the Vary header to work. I am adding a custom request header such as “userId : 123” to cache user specific responses. Can you guide how to get it working?
I have an issue where both local AEM instances using the latest SDK, and cloud AEM instances sometimes cannot register themselves as event providers in AIO after redeploy. When I delete all 3 provider registrations (1x localhost + 2x CM) from AIO using its CLI, they can all register correctly. But after some time, they try to reregister, and I can see this error in the event metadata status check as well as in AEM's error.log: ConflictException:[409 Conflict] during [POST] to [https://api.adobe.io/events/899606/4566206088344857951/4566206088344863396/providers] [ProviderApi#create(String,String,String,ProviderInputModel)]: [{"reason":"Use PUT or PATCH to update: Another provider exists with the same natural key (organization_id, provider_metadata/type, instanceId). Request id: WUNvssICncVHorntw8AnhzVyZ93iCr4P.","message":"187ae187-466a-40d0-a15c-0dd277bfa6fa. Please take a note of the http response `x-request-id` header for debugging/support."}] Is it a known issue
We are facing issues while disabling projects from Adobe XD plugin for JIRA, it gets disabled and then saved, but when we refresh the page, it again is visible in Enabled Projects list. How can this issue be solved? Is there any existing bug or what is the alternative around it? Are you also planning to release a new version for it in the future which is compatible with JIRA and this issue is solved, If yes, by when is the expected timeline? https://marketplace.atlassian.com/apps/1219582/adobe-xd-for-jira?tab=overview&hosting=server Currently we are using Adobe XD version 2.0.6 which is incompatible with Jira Data Center version 8.20.1
Hello, I have a S/4 HANA standard form (with fragments) that I am trying to customize. Within the form, I have a table that is nested and with a parent child relationship. As in the below screenshot, there can be multiple HUs and under a HU, any number of delivery items. Customer's ask is to print 1 HU and its associated delivery lines on a page. For this particular example, there would be 2 pages, page1 for HU 123 and page2 for HU 567. I have achieved this using conditional page break and the data gets split and passed on to new set of pages. However, on every page there is some header information that needs to be printed - some of them from the HU data and some of them from the delivery lines data. 1. The form title should be 'HU ***' where *** is the value on that page. 2. Need to read a specific field from the first delivery line on every page (it will be the same on all delivery lines and hence reading the 1st record is enough) and pass it to the header on master page. &nb
Hi, I am trying to fetch data from 3rd party endpoint and load it into one of data schemas in Adobe Campaign Standard. The mentioned 3rd party endpoint has the option to put filters on query strings, so for instance it can looks like this: var datenow = Date.now(); lasthour = now.setHours(now.getHours() - 1); (date_modified >= lasthour) AND (date_modified < datenow) To achieve this goal I've tried to use Adobe IO in the middle and I found that there is one similar use case described here: https://medium.com/adobetech/adobe-campaign-content-recommendations-in-email-b51ced771d7f My script for Adobe IO looks as follows: async function main () { try { //Declare all the options for GET request along with query parameters const fetch = require('node-fetch'); const response = await fetch('https://endpoint.com', { method: 'get', headers: { "Subscription-Key": "XXX", "TENANT": "YYY" } }); const data
Hi, Most of our clients use the free Acrobat Reader. To a PDF Form that we develop we wish to add some web server interaction.Acrobat Reader, we know, does not have web capture (no FDF GET, for instance). Please explain what can be accomplished with SOAP though: From "JavaScript™ for Acrobat® API Reference: Note: The SOAP methods connect, request and response are available only for documents open in Acrobat Pro andAcrobat Standard and for documents with Form Export Rights open in Adobe Reader 6.0 or later. Thanks, Enoch.
Currently, when configuring adobe.io (using AEM x CIF) endpoints for our application, we are using the "standard" adobe.io runtime endpoints. i.e. https://runtime.adobe.io/api/v1/namespaces/[...] We would like to mask these endpoints, using custom domain names. Can anyone shed some light on how we can go about this? Kind regards
I call api by postman then i have error. and api status I don't understand where the error is.
I am able to connect to adobe API using JWT. while i try to send a JSON response using POST via requests , I get back below response where all the data is coming across as zero's .not sure wht the issue is , would be great to get a response on this front !!. 'rows': [{'itemId': '1210001', 'value': 'Jan 2021', 'data': [0.0]}, {'itemId': '1210101', 'value': 'Feb 2021', 'data': [0.0]}, {'itemId': '1210201', 'value': 'Mar 2021', 'data': [0.0]}, {'itemId': '1210301', 'value': 'Apr 2021', 'data': [0.0]}, {'itemId': '1210401', 'value': 'May 2021', 'data': [0.0]}, {'itemId': '1210501', 'value': 'Jun 2021', 'data': [0.0]}, {'itemId': '1210601', 'value': 'Jul 2021', 'data': [0.0]}, {'itemId': '1210701', 'value': 'Aug 2021', 'data': [0.0]}, {'itemId': '1210801', 'value': 'Sep 2021', 'data': [0.0]}, {'itemId': '1210901', 'value': 'Oct 2021', 'data': [0.0]}, {'itemId': '1211001', 'value': 'Nov 2021', 'data': [0.0]}, ,
Hi, We have the Adobe Experience Cloud with products including Adobe Campaign, Adobe Audience Manager, Adobe Analytics etc. We intend to integrate Adobe IMS via user management API to manage and automate the user provisioning, update and query etc. However while we are to develop such API integration, we should not use the lived / production Adobe IMS to test, which could impact the existing users. Wondering any Adobe IMS sandbox environment I could use to connect to test the user management APIs and integration. Seek kindly the advice. regards, Zhenlong
HI: I work in VB.net and C# in Visual Studio (mainly 2022). I downloaded the Adobe pdf samples and created private.key and pdfservices-api-credentials.json files. The authentication works fine in the ExportPDFToDocx sample project, even after I moved that project to a new Visual Studio solution. When I create a new VB.net or C# project in a new solution, the authentication no longer works. The app just hangs at "Refreshing the session token". See log below. This happens in both VB.net and C# projects. I suspect I am missing something basic. Do I need a new private key and json file for each project or solution? Thanks. Log: 2023-01-16 18:26:06,096 [1] INFO Adobe.PDFServicesSDK.core.service.ExportPDFService - Exporting a pdf to format docx from Local File source:exportPdfInput.pdf 2023-01-16 18:26:06,134 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Session token has been expired. Required
Hello I have created project for Adobe Photoshop API (Trial) I have JWT token I am able to generate Bearer AccessToken properly. Following is the code : var client = new RestClient("https://image.adobe.io/lrService/edit");var request = new RestRequest(Method.POST);request.AddHeader("cache-control", "no-cache");request.AddHeader("Authorization", bearertoken);request.AddHeader("x-api-key", ApiKey);request.AddHeader("Content-Type", "application/json");request.Parameters.Clear(); string data = "{\"inputs\": {\"source\": {\"href\": \"unedited/image.jpg\",\"storage\": \"external\"}},\"options\": {\"Whites\": 80},\"outputs\": [{\"href\": \"edited/image.jpg\",\"type\": \"image/jpeg\",\"storage\": \"external\"}]}"; request.AddParameter("application/json", data, ParameterType.RequestBody); string responseFromServer = "";IRestResponse response = client.Execute(request);responseFromServer = response.Content; I am getting response as : {"error_code":"401013","message":"Oauth token is n
There is no option to set the size, height or width of the pdf. The pdf generated is not in line with the original file.
Hi Adobe I/O team, I'm following your introduction to Adobe I/O Events Webhooks guide as I want to trigger a webhook call on certain events. However, every time I try to enable consent, as described here: https://github.com/AdobeDocs/adobeio-events/blob/stage/intro/webhooks_intro.md#receiving-events, I get the following error in postman: Invalid protocol: adobe+MY_CLIENT_ID. Any help would be greatly appreciated, since I'm a bit lost! Rafael
Hi team, since some Adobe Stock assets have several types of file extention(e.g. ai, jpeg, etc), I want to specify it or download all the files on the asset page when via Adobe Stock API. However according to Stock APIs (adobe.com), it only offers size parameter. Is there any option parameter of file extention?
Hi team, we're now building the app of Adobe Stock, letting employees to download the asset from our company's account. We don't want our employees to use the asset which is "Editorial use only" (e. g. Editorial Images – Browse 854,123 Stock Photos, Vectors, and Video | Adobe Stock ). How can we specify which asset is "Editorial use only", which is not? According to License API reference (adobe.com), it doesn't say about "Editorial use only". Please help me about this.
At some point in time, the format of the payload displayed in the event registration's debug tracing tab and delivered to the runtime action has changed. Older registrations still deliver the payload in the "old" format, while newly created registrations deliver it in the new format. In it, the content of the payload in the "old" format is present as the payloads JSON's child object called "data", and multiple other fields are present in the payload JSON beside it. Those other fields are seemingly HTTP request parameters. The biggest issue is that it seems that those new payload JSONs are being truncated to be 1024 characters long. This amount of characters is being exceeded even by just the data added to the payload automatically by `com.adobe.aio.aem` library in AEM when the event is being sent and this additional data added by the AIO itself. The trimmed JSON cannot be parsed by the AIO, which causes the runtime action to receive an empty event object. Is there any fix or a walk aro
Hi, I'm doing integration between Adobe PDF Service and Salesforce using APIs. Our main goal is to convert HTML file (i.e. stored in one of salesforce standard object 'ContentDocument') to PDF and stored that generated PDF file back to salesforce. I have performed below steps in my apex class: Generate access token using client_id, client_secret and jwt_token POST method to convert HTML file to PDF, Here I need some guidance. So, here which url I can use from salesforce and pass it as a value of inputUrl. Here is the SS of postman and i'm doing same steps in my apex class: I really appreciate your help in advance..! Thanks, Hetal
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.