Skip to main content
Level 2
Mar 21, 2024 5:38 AM UTC
Solved

Call to target global mbox is not returning the expected response

We have integrated Adobe target with AEM. We have configured a recommendation activity for a particular page. As expected, the mbox call is requested on every page load, but the weird part is the call is returning inconsistent response. 

 

Note: No changes were made to the activity in the last 4 months and this issue is being encountered only in the recent days. Also, the response below might not be in the right format as I have removed some confidential attributes.

 

for eg: This is the request that goes from our end to target:

https://dayintegrationintern.tt.omtrdc.net/m2/organizationid/mbox/json?mbox=target-global-mbox&mboxSession=sessionvalue&mboxPC=&mboxPage=mboxpage&mboxRid=mboxrid&mboxVersion=1.5.0&mboxCount=1&mboxTime=1711017185672&mboxHost=hostID&mboxURL=URLof the configuredpage

 

Expected response(which is returned some times) : 

{"sessionId":"ID","tntId":"tntID.35_0","offers":[{"responseTokens":{"offer.name":"Offername-102248-73477-1701079019114","experience.id":"1","activity.name":" Recommendation US Live","profile.activeActivities":"1031863","geo.city":"city","geo.state":"state","activity.id":"1031863","experience.name":"name","geo.zip":"zip","profile.searchqueryterm":"queryterm","offer.id":"1512613","geo.country":"ctry"},"actions":[{"action":"insertBefore","selector":"#cmp-searchresults__holder","content":"<style>\n}]}]}

 

Actual Response (which is returned the rest of the times):

{"sessionId":"ID","tntId":"tntID.35_0","offers":[{"responseTokens":{"offer.name":"Offername-102248-73477-1701079019114","experience.id":"1","activity.name":" Recommendation US Live","profile.activeActivities":"1031863","geo.city":"city","geo.state":"state","activity.id":"1031863","experience.name":"name","geo.zip":"zip","profile.searchqueryterm":"queryterm","offer.id":"1512613","geo.country":"ctry"},} 

 

Please note that the action part of the expected response where the recommendation design is injected is missing. This is why the recommendations are not displayed. But, As I am not sure why this inconsistency is observed, I am seeking for solutions.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
alexbishop
alexbishopAccepted solution
Adobe Employee
Apr 5, 2024 12:33 PM UTC

I'd suggest raising this with Customer Care if you haven't done already, as it's likely something that will need to be troubleshooted by looking at the full request/response, as well as the setup within Target

2 replies

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
Apr 5, 2024 12:33 PM UTC

I'd suggest raising this with Customer Care if you haven't done already, as it's likely something that will need to be troubleshooted by looking at the full request/response, as well as the setup within Target

Translate
Level 2
May 1, 2024 2:25 AM UTC

Hi @sahana_s 

 

We are also trying to integration form based AT activity in AEM, but not sure how to do that. Currently we have created a AT target and not sure about next step in integrating it in AEM. Could you please let us know how you integrated?

 

Translate