AEM Personalised exp activity not synced to Target

Avatar

Avatar
Validate 1
Level 1
varunv63521321
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
varunv63521321
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
varunv63521321
Level 1

16-03-2021

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Give Back
Level 1
abhishekk981269
Level 1

Likes

3 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 3
Affirm 1
Boost 1
View profile

Avatar
Give Back
Level 1
abhishekk981269
Level 1

Likes

3 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 3
Affirm 1
Boost 1
View profile
abhishekk981269
Level 1

25-05-2021

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

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

390 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

390 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

17-03-2021

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

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,206 likes

Total Posts

6,421 posts

Correct reply

1,148 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,206 likes

Total Posts

6,421 posts

Correct reply

1,148 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

02-06-2021

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