since ‎08-01-2018
‎21-07-2020
prashanto496770
Level 2
Re: 500 Error in runtime action prashanto496770 - Adobe I/O Runtime
Seems like there was an error in the token that used to make the API call. The token had expired. I created a new token and API is returning the response.
118
Views
0
Likes
1
Answers
Re: How do I send Params to my runtime action? prashanto496770 - Adobe I/O Runtime
thanks duypnguyen. I am able to get the token by reading the documentation you shared. Also this link helped me too in generating a certificate and accessing it in AEM: https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/authentication/set-up-public-private-keys-for-use-with-aem-and-adobe-io.html and by using AccessTokenProvider.
201
Views
0
Likes
0
Comments
500 Error in runtime action prashanto496770 - Adobe I/O Runtime
I had written a custom action on firefly template which consumes Analytics API. It was running fine until today. When I call the API, all I get is this error:{ "error": "server error" }In the console of code editor, I seeinfo: 500: server error Logs aren't updating too. Is there anything I can do to get more information on the error ?
125
Views
0
Likes
2
Answers and Comments
Re: How do I send Params to my runtime action? prashanto496770 - Adobe I/O Runtime
In AEM IMS configuration I don't find Adobe Analytics too. So did some digging in and created an Adobe Granite Access Token Provider and configured the client id, JWT Claims. I am not understanding how to link this to the keystore file that is present on Adobe IO Console. I think I am missing something. Is there a document which has step-by-step details?
225
Views
0
Likes
0
Comments
Re: How do I send Params to my runtime action? prashanto496770 - Adobe I/O Runtime
Thanks, I will try this.
240
Views
0
Likes
0
Comments
Re: How do I send Params to my runtime action? prashanto496770 - Adobe I/O Runtime
@duypnguyen Now that this API is working, how do I call this API from an external application? I mean, if i have to call this api from an AEM application, should i configure IMS configuration ? I see only 4 options in the IMS configuration and I/O runtime is not one of them. Should i write my code manually to generate bearer token to call this API?
262
Views
0
Likes
0
Comments
Re: How do I send Params to my runtime action? prashanto496770 - Adobe I/O Runtime
thanks duypnguyen. I have updated the question with app.js code.
308
Views
0
Likes
0
Comments
How do I send Params to my runtime action? prashanto496770 - Adobe I/O Runtime
I have created a Adobe IO runtime project based on firefly template. I have added Adobe Analytics API in my console.adobe.io. While creating the project thru AIO, it has created a sample action which fetches collections from adobe analytics. Problem 1: When I open this app using localhost:9080, I get this error in ForwardRef($f01f0d1066865f7027d77d32f5de6fe$var$Picker) (created by App) in ModalProvider (created by ForwardRef($bc3300334f45fd1ec62a173e70ad86$var$Provider)) in I18nProvider (created...
327
Views
0
Likes
10
Answers and Comments
Re: Create offer request failed - error while syncing an... prashanto496770 - Adobe Experience Manager
@shreyag72517995Seems like my permissions were over written by someone. After giving "approver" access, this integration is working fine. But is there a way to make this work for "Activity" which has been created in AEM too? As of now, I am getting same error for activity. I don't see Workspace configuration for activity. Any idea if this has been fixed in 6.5.3 or 6.5.4 ?
4019
Views
0
Likes
0
Comments
Re: Create offer request failed - error while syncing an... prashanto496770 - Adobe Experience Manager
Sorry, I found the workspace configuration in cloud service configuration of experience fragments. But anyways, I am getting the same error even after configuring the workspace.
4036
Views
0
Likes
0
Comments
Re: Create offer request failed - error while syncing an... prashanto496770 - Adobe Experience Manager
Thanks for your reply @ shreyag72517995I upgraded my AEM to 6.5.2. According to link [2]Experience Fragments can be exported to either:the default workspace.a named workspace, specified in the Cloud Configuration.But I am not getting any option to specify the workspace name in cloud configuration.
4046
Views
0
Likes
0
Comments
Create offer request failed - error while syncing an activity from AEM to Adobe Target prashanto496770 - Adobe Experience Manager
I am getting "Create Offer Request Failed!" error while pushing an activity from AEM to Adobe Target.Log Entries:{"httpStatus":403,"requestId":"qaYhfw4FXTWREsiNLNl1RBVjOSrmZ0kC","requestTime":"2020-04-16T13:25:19.697Z","errors":[{"errorCode":"Forbidden.Resource","message":"Access denied. To perform this operation, all of the following privileges are required \"[editor]\"."}]} As mentioned in this post, I have also provided "Editor" product role to my integration. Is there any thing that I may be...
4856
Views
0
Likes
5
Answers and Comments
Issue with Adobe target powered personalization when an activity is created in AEM and pushed to Adobe Target. prashanto496770 - Adobe Experience Manager
Issue Description When the AEM is integrated with Target through Adobe I/O and an XT activity is created in AEM and synced to target, the end-user personalization fails to work as expected on the end site. Instead of replacing only the personalized part of the HTML, the whole HTML is being replaced with personalized content. Steps to reproduceCreated an Adobe I/O integration for target API under default workspaceProvided this integration "Editor" product role in admin consoleCreated IMS Configur...
612
Views
0
Likes
0
Answers and Comments
Re: Target Integration with AEM 6.5 - Personalization prashanto496770 - Adobe Experience Manager
This was happening because for some reason, another offer (which was configured to some other page) was being resolved on this page. Hence nothing was displayed. I deactivated the old offer and then the default content was displayed. I still have problem with offer resolution.
2275
Views
1
Like
1
Answers
Target Integration with AEM 6.5 - Personalization prashanto496770 - Adobe Experience Manager
I have integrated AEM 6.5 and Target successfully through IMS and legacy Target cloud service. I created an activity on AEM and pushed it to Target. I am able to see the activity in AEM. When I open the page either in publish or in author with wcmmode disabled, I got the following errorRendering mbox failed target-global-mbox : {status: "error", error: "unknown client code : For this I changed property "clientcode" from tenant id to client code in target configuration. After this I am getting fo...
2753
Views
0
Likes
2
Answers and Comments
Re: Adobe Launch script not loading in author prashanto496770 - Adobe Experience Manager
I found the issue:libraryUri was populated wrong while creating the configuration: "/" was getting appended. I think link checker was removing this invalid URl from the markup.After correcting this I got 404 for script URL. I had to manually copy the URL from launch environment tab.Thanks,PrashantCheck Some hotAEM related topics on my blog:AEM SPA Editor Demystified AEM technology stack Composite Components in AEM using "cq:template"
1496
Views
0
Likes
0
Answers
Re: Adobe Launch script not loading in author prashanto496770 - Adobe Experience Manager
Which user should have the permission ? I am using admin. It has read permissions on /conf. Anything else i need to check?
1260
Views
0
Likes
0
Answers
Re: Adobe Launch script not loading in author prashanto496770 - Adobe Experience Manager
Can you please elaborate on the solution? I am having the same problem.
1268
Views
0
Likes
0
Answers
AEM SPA editor prashanto496770 - Adobe Experience Manager
I am using AEM 6.5.Existing behavior:I see that, en.model.json call is being mage on load which fetches all child pages and it's contents and subsequent navigation does not make model.json calls as everything is fetched in one shot.What I want to achieve?I want to fetch only the content of the current page and not the whole hierarchy. Is there any way to customize/configure this behavior. I want to have lazy load mechanism and fetch only the current page. And when page navigation links are click...
1062
Views
0
Likes
0
Replies
Re: Query on Custom Login Module prashanto496770 - Adobe Experience Manager
Thanks smacdonald2008​.Here is the SO link that gave me a direction.ldap - Query on Sling Custom login module - Stack Overflow
1058
Views
0
Likes
0
Answers
Query on Custom Login Module prashanto496770 - Adobe Experience Manager
I have created a custom authentication flow to authenticate using an external provider. As per my understanding, here is the flow of execution.CustomAuthenticationHandler (extending DefaultAuthenticationFeedbackHandler & implementing AuthenticationHandler, AuthenticationFeedbackHandler): this extracts the credentials and calls the appropriate login module using JAAS configuration.CustomLoginModule (extending AbstractLoginModule). This calls the identity provider, assigns additional groups option...
1391
Views
1
Like
3
Answers and Comments
Folder hierarchy for activities prashanto496770 - Adobe Experience Manager
I would like to know if there is some way to allow sub-folders under activity area for campaigns. I am talking about the out-of-the-box personalization solution that AEM offers.Right now I have create the following structure:/content/campaigns > xyz(brand) > us(domain) > all my activitiesWhat I want to do is,/content/campaigns > xyz(brand) > us(domain) > activity category 1 > a set of activities/content/campaigns > xyz(brand) > us(domain) > activity category 2 > a set of activitiesI am not able ...
694
Views
0
Likes
0
Answers and Comments
Pages are opening in touch ui mode from site-admin prashanto496770 - Adobe Experience Manager
I am using AEM 6.4.2. I have configured the default option as classic using Day CQ Root Mapping.When I double click any page in site admin, the page again opens in touch UI. Is there anyway to make it open in classic UI mode ?
942
Views
1
Like
1
Answers and Comments
Re: AEM 6.4 with IBM cloud object storage prashanto496770 - Adobe Experience Manager
Thanks Peter.
1151
Views
0
Likes
0
Answers
AEM 6.4 with IBM cloud object storage prashanto496770 - Adobe Experience Manager
Is there any connector available to use IBM cloud object storage as Data store ? I am using AEM 6.4.1 and I want to use the IBM cloud object store for my DAM assets. Is it possible if I use S3 connector? If there is no connector available, is it possible to write a custom connector for this purpose ?
1300
Views
1
Like
2
Answers and Comments
Campaigns migration from 6.1 to 6.4 prashanto496770 - Adobe Experience Manager
We are working on analysis for migrating to 6.4 from 6.1. All our campaigns in 6.1 are linked to content pages through campaignPath property. We have used teaser component and configured the campaignPath property through dialog.But in 6.4, there is no teaser component. And when we author a targeted component, the link is established to a campaign through a "location" property. This location property seems to be a hex code and not a path.Now, if i want to migrate all our campaigns to 6.4, we will...
675
Views
0
Likes
0
Answers and Comments
Re: AEM 6.4 upgrade pattern detector utility prashanto496770 - Adobe Experience Manager
Apologies, The site was down and now it is UP.
1195
Views
0
Likes
0
Answers
AEM 6.4 upgrade pattern detector utility prashanto496770 - Adobe Experience Manager
Hi,Currently we are in an anlysis phase for upgrading to 6.4 from 6.1.The below article suggests that we can do a pattern detector to know the deprecations.Assessing the Upgrade Complexity with the Pattern Detector But the download links do not work. Are there any mirrors for the links?https://www.adobeaemcloud.com/content/marketplace/marketplaceProxy.html?packagePath=/content/companies/public/adobe/pack… Thanks.
1934
Views
0
Likes
1
Answers and Comments
Re: Issue with database connection pool prashanto496770 - Adobe Experience Manager
Hi Rima,My sling:osgiConfig is present in the below hierarchy:/apps///osgi///Could this be the reason for this issue ? I will try moving my configurations a couple of level up and try DB connection after that. I will update this thread with my findings.Thanks a lot.
3899
Views
1
Like
0
Replies
Re: Issue with database connection pool prashanto496770 - Adobe Experience Manager
Hi Scott,Thanks for your reply. Yes, I understand you are not using sling:osgiConfig nodes. You are setting up configurations directly in the osgi config manager screen. When I do this, my database connection works as expected. Now if I want database configurations to be ready after every build, I need to save them thru sling:osgiConfig nodes and push them thru build. That is when I am facing this issue. After the maven build, if I go to the config manager screen , I am able to see all my config...
10617
Views
0
Likes
1
Replies