AEM and Target Integration : Create offer request failed!

jaril52271491

26-09-2020

Hi, I'm working on integration of Adobe Target with AEM and using the targeting mode to create Activity in AEM using the Target engine.

 

  • I'm using AEM 6.5
  • I configured Adobe IMS in AEM with the Adobe I/O Project for Target API
  • The product role of Target integration is Approver in the Admin Console
  • I configured Adobe Target in the Legacy Cloude Services of AEM

I can create an activity in AEM but when I save it, i receive this error:

jaril52271491_0-1601146874241.png

and also in the browser console I see this error: 

jaril52271491_1-1601146978587.png

Which can be the problem?

 

BR.

AEM Target Target API

Accepted Solutions (0)

Answers (2)

Answers (2)

aemmarc

Employee

27-09-2020

Target Standard or Premium?

 

There is currently a limitation exporting from AEM to Target Standard via IMS.

 

This will be corrected in AEM 6.5.7 in Nov 2020. 

Singaiah_Chintalapudi

MVP

26-09-2020

Hi, I was looking into the previous article and it seems I have all the configurations mencioned in this articles.

 

In the logs I can see this kind of error:

 

28.09.2020 13:17:58.057 *DEBUG* [0:0:0:0:0:0:0:1 [1601291877803] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Using REST API...
28.09.2020 13:17:58.061 *DEBUG* [0:0:0:0:0:0:0:1 [1601291877803] 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/<my-tenant-id>/target/offers?includeContent=false&name=Default+AEM+offer
28.09.2020 13:17:58.242 *DEBUG* [0:0:0:0:0:0:0:1 [1601291877803] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Offer not found in Target, creating...
28.09.2020 13:17:58.246 *DEBUG* [0:0:0:0:0:0:0:1 [1601291877803] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.TokenManager Releasing token content-campaigns-we-retail-master-target-activity
28.09.2020 13:17:58.256 *ERROR* [0:0:0:0:0:0:0:1 [1601291877803] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.servlets.commands.SynchronizeCampaignCommand Create offer request failed!

 

Any suggestion?

 

Thank you, BR

Hi, I was looking into the previous article and it seems I have all the configurations mencioned in this articles.

Looking in the log I can see this error:

 

28.09.2020 14:16:57.638 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Synchronizing campaign Target Acticity_author to Adobe Target... 28.09.2020 14:16:57.640 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] 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/<tenant-id>/target/activities?thirdPartyId=content-campaigns-we-retail-master-ta... 28.09.2020 14:16:58.002 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Checking offer Default AEM offer 28.09.2020 14:16:58.002 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Checking for the external id property... 28.09.2020 14:16:58.002 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Using REST API... 28.09.2020 14:16:58.004 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] 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/<tenant-id>/target/offers?includeContent=false&name=Default+AEM+offer 28.09.2020 14:16:58.199 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Offer not found in Target, creating... 28.09.2020 14:16:58.200 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.TokenManager Releasing token content-campaigns-we-retail-master-target-activity 28.09.2020 14:16:58.202 *ERROR* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.servlets.commands.SynchronizeCampaignCommand Create offer request failed!

Hi, I was looking into the previous article and it seems I have all the configurations mencioned in this articles.

 

This is my error log:

 

28.09.2020 14:16:57.638 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Synchronizing campaign Target Acticity_author to Adobe Target...

28.09.2020 14:16:57.640 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] 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/<tenant-id>/target/activities?thirdPartyId=content-campaigns-we-retail-master-ta...

28.09.2020 14:16:58.002 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Checking offer Default AEM offer

28.09.2020 14:16:58.002 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Checking for the external id property...

28.09.2020 14:16:58.002 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Using REST API...

28.09.2020 14:16:58.004 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] 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/<tenant-id>/target/offers?includeContent=false&name=Default+AEM+offer

28.09.2020 14:16:58.199 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.synchronization.TargetCampaignSynchronizer Offer not found in Target, creating...

28.09.2020 14:16:58.200 *DEBUG* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.TokenManager Releasing token content-campaigns-we-retail-master-target-activity

28.09.2020 14:16:58.202 *ERROR* [0:0:0:0:0:0:0:1 [1601295417630] POST /libs/cq/analytics/testandtarget/command HTTP/1.1] com.day.cq.analytics.testandtarget.impl.servlets.commands.SynchronizeCampaignCommand Create offer request failed!