Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Target integration with AEM 6.5 via IMS

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

21-05-2019

Hi everyone,

I have faced a challenge to integrate Adobe Target with AEM 6.5 via IMS. The IMS has been configured, the status is OK (Token retrieved successfully). However, when integrating Target either via "AEM Cloud Services Opt-In" dialog or via Cloud Services configuration an error message "Get mboxes request failed!" pops up.

Does anyone know the cause of this error?

---

aem-target-01.pngaem-target-02.png

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back
Level 2
Amuthesan
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

2 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile

Avatar
Give Back
Level 2
Amuthesan
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

2 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile
Amuthesan
Level 2

30-05-2019

Hi Andrey,

Please check if you have provided IMS Tenant ID as your client code, It is not same as the client code used for earlier integration.

Client code - IMS Tenant ID, can be obtained from Adobe Experience Cloud > Launch Target > Copy IMS teant id from the URL

Reference:

Adobe Experience Manager Help | Understanding Adobe Target Standard integration with AEM Sites

Thanks,

Amuthesan.

Answers (13)

Answers (13)

Avatar

Avatar
Give Back 3
Employee
vivekanand-mishra
Employee

Likes

9 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Give Back 3
Employee
vivekanand-mishra
Employee

Likes

9 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile
vivekanand-mishra
Employee

26-04-2020

Anyone facing this issue should note that the "client code" expected in this dialog is actually the org id or the tenant id. For example if your cloud product URL is https://experience.adobe.com/#/@aes1448/target

or 

https://aes1448.experiencecloud.adobe.com/

 

Then your "client code" is "aes1448" for that dialog.

 

I have tested it works with that value.

Avatar

Avatar
Shape 1
Employee
-ash
Employee

Likes

7 likes

Total Posts

10 posts

Correct Reply

3 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile

Avatar
Shape 1
Employee
-ash
Employee

Likes

7 likes

Total Posts

10 posts

Correct Reply

3 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile
-ash
Employee

03-10-2019

"Client Code" not "Adobe ID" - sorry.

But yes - this is the field. It says "Client Code" but you have to enter the "Tenant ID". I didn't use the wizard, though but created the Integration "manual" in the Cloud Configuration. But I would assume the wizard mixes up the labels, too.

Avatar

Avatar
Boost 1
Level 1
paulkronen
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
paulkronen
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
paulkronen
Level 1

02-10-2019

It only provides you option to set the Client Code?

2019-10-02_13-01-26.png

Avatar

Avatar
Shape 1
Employee
-ash
Employee

Likes

7 likes

Total Posts

10 posts

Correct Reply

3 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile

Avatar
Shape 1
Employee
-ash
Employee

Likes

7 likes

Total Posts

10 posts

Correct Reply

3 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile
-ash
Employee

02-10-2019

Yes we have a solution - you now have to use the "tenant id" where it asks for the "adobe id". The tenant id is part of the URL when you open target:

https://<<tenantid>>.experiencecloud.adobe.com/content/mac/<<tenantid>>/target/activities.html

Avatar

Avatar
Boost 1
Level 1
paulkronen
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
paulkronen
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
paulkronen
Level 1

01-10-2019

Do we have a fix for this yet? Same issue and my clientID is 100% correct. Looks like the integration might be broken.

Avatar

Avatar
Shape 1
Employee
-ash
Employee

Likes

7 likes

Total Posts

10 posts

Correct Reply

3 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile

Avatar
Shape 1
Employee
-ash
Employee

Likes

7 likes

Total Posts

10 posts

Correct Reply

3 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile
-ash
Employee

19-09-2019

Ran into the same issue in AEM 6.5.2. As Amuthesan said, now the tenant ID is required

Avatar

Avatar
Give Back
Level 2
Amuthesan
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

2 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile

Avatar
Give Back
Level 2
Amuthesan
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

2 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile
Amuthesan
Level 2

31-05-2019

Hi Andrey,

I ran in to the same error as you during my attempt at integration. While I trigger the health check AEM connects to Adobe IO to get mbox list. Please check the logs there should be clear information on to why it is failing for you.

If it helps, the error that I ran into,

From the logs I came to know that AEM was trying to connect to the Adobe IO via url,

https://mc.adobe.io/<clientcode>.experiencecloud/target/mboxes

Since the client code was incorrect it failed with message,

{"error_code":"502061","message":"Bad Gateway. No tenant associated with the user profile."}

Updating the client code as per the reference in my previous post, addressed the problem.

Thanks,

Amuthesan

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

31-05-2019

Amuthesan,

The Client code is always required and was set as needed. Do you have any insights about the error message I shared in the question?

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 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

389 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

21-05-2019

Setting up a DEBUG logger on the following classes should provide more details about the failure.

com.day.cq.personalization

com.day.cq.analytics.testandtarget

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

21-05-2019

Thank you. The integration I am challenged by also leverages Adobe I/O (this is what I called IMS — IMS Configuration leverages Adobe I/O).

Look forward for other replies

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

536 likes

Total Posts

968 posts

Correct Reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

21-05-2019

Thank you for the links but they are irrelevant to the question above.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

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

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

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

21-05-2019

I was suggesting another way if in case it was bit urgent. I did via Adobe Launch integrations in Adobe I/O.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

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

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

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

21-05-2019