Expand my Community achievements bar.

AEM Personalised exp activity not synced to Target

Avatar

Level 2

Hi

 

I have integrated AEM with target using adobe I/O and IMS. The connection is successful and I can see segments and audience synced in AEM from Target. The problem is when I save the activity it is not getting saved to target. In logs I can see ther is error creating the offer. The profile of the integration user is set as Editor in Adobe I/O for Target. I even tried Approver and Publisher profile but the error persist.

 

POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Would create campaign with title Personalisation from AEM_author, start java.util.GregorianCalendar[time=1615883280000,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT+11:00",offset=39600000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2021,MONTH=2,WEEK_OF_YEAR=12,WEEK_OF_MONTH=3,DAY_OF_MONTH=16,DAY_OF_YEAR=75,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=3,AM_PM=1,HOUR=7,HOUR_OF_DAY=19,MINUTE=28,SECOND=0,MILLISECOND=0,ZONE_OFFSET=39600000,DST_OFFSET=0], end java.util.GregorianCalendar[time=1615884960000,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT+11:00",offset=39600000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2021,MONTH=2,WEEK_OF_YEAR=12,WEEK_OF_MONTH=3,DAY_OF_MONTH=16,DAY_OF_YEAR=75,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=3,AM_PM=1,HOUR=7,HOUR_OF_DAY=19,MINUTE=56,SECOND=0,MILLISECOND=0,ZONE_OFFSET=39600000,DST_OFFSET=0], conversionGoal null, campaignType LANDING_PAGE .
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Reading campaign locations...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Reading experienceLocalId counter...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Evaluating experience at /content/campaigns/abccompany/master/testing-personalisation/desktop
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Found segment [Segment# name : null, operator: null, values: [] kind: And, children.size(): 1] at path /etc/segmentation/adobe-target/abccompany/832836
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Adding external reference segment[Segment# name : Desktop-1495419064118, operator: equals, values: [832836] kind: ExternalReference, children.size(): 0]
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Setting experienceLocalId to 1
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Evaluating experience at /content/campaigns/abccompany/master/testing-personalisation/is_mobile_device
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Found segment [Segment# name : null, operator: null, values: [] kind: And, children.size(): 1] at path /etc/segmentation/adobe-target/abccompany/2749958
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Adding external reference segment[Segment# name : Is Mobile Device, operator: equals, values: [2749958] kind: ExternalReference, children.size(): 0]
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Setting experienceLocalId to 2
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Default experience : added offer for mbox location 9c6fc050-97db-442a-85a7-b9b3577svhgn--author
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Collecting offers mboxes...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Collecting mbox names from offer Default AEM offer
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Collecting mbox names from offer 9c6fc050-97db-442a-85a7-b9b3577svhgn--author-desktop-home-banner_1456349705_co_1079015996
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Collecting mbox names from offer 9c6fc050-97db-442a-85a7-b9b3577svhgn--author-is_mobile_device-home-banner_1456349705_co_1079015996
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignRepositoryAdapter Generated object for campaign Personalisation from AEM_author (PREVIEW)
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignValidator Validating campaign Personalisation from AEM_author...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignValidator Experience count must be 1
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Synchronizing campaign Personalisation from AEM_author to Adobe Target...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl Target API Request: GET https://mc.adobe.io/abccompany/target/activities?thirdPartyId=content-campaigns-abccompany-master-te...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Checking offer Default AEM offer
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Checking for the external id property...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Using REST API...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl Target API Request: GET https://mc.adobe.io/abccompany/target/offers?includeContent=false&name=Default+AEM+offer
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Offer not found in Target, creating...
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.TokenManager Releasing token content-campaigns-abccompany-master-testing-personalisation
POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.servlets.commands.SynchronizeCampaignCommand Create offer request failed!

 

Thanks in advance

6 Replies

Avatar

Employee Advisor
  • Can you setup a DEBUG level logger on "com.day.cq.analytics.testandtarget" and try again?
  • Share the logs once done

Avatar

Level 2

Hi Jbrar,The above logs are debug level logs for com.day.cq.analytics.testandtarget

Avatar

Level 2

Did you find any resolution? We are facing the same issue

Avatar

Level 2

The problem was in target where editor permissions was not synced for new IMS config. You need to try changing it to approver then back to editor to resync. Try it see if it works for you. Otherwise raise an adobe case with target team.

Thanks Varun. For us it was an issue with AEM 6.5.6.0. The proposed fix by Adobe is to install SP 6.5.8.0

Avatar

Administrator

For us it was an issue with AEM 6.5.6.0. The proposed fix by Adobe is to install SP 6.5.8.0



Kautuk Sahni