Problem when export experience fragment to Adobe Target | Community
Skip to main content
Level 3
Sep 19, 2019 2:35 PM UTC
Solved

Problem when export experience fragment to Adobe Target

Hello Guys,

I am having a problem when I am trying to export experience fragment to Adobe Target.

Does anyone have a similar problem?

Thanks

Alisson Xavier

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
leoberliantAccepted solution
Employee
Sep 19, 2019 4:41 PM UTC

Is it a Target via Adobe IO integration?

If yes, you need to get to Experience Cloud Admin Console Admin Console

From Product select Workspace -> Integration and add your Adobe IO integration with Approver product role

18 replies

Level 3
Sep 19, 2019 4:23 PM UTC

Hi,

Where can I configure access to integration?

Thanks

Translate
Employee
Sep 19, 2019 4:02 PM UTC

"

Caused by: com.day.cq.analytics.testandtarget.impl.service.WebServiceException: API request failed

at com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl.request(WebServiceImpl.jav a:607) [com.adobe.cq.cq-target-integration:1.3.22]

at com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl.request(WebServiceImpl.jav a:562) [com.adobe.cq.cq-target-integration:1.3.22]

at com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl.createOffer(WebServiceImpl .java:264) [com.adobe.cq.cq-target-integration:1.3.22]

at com.day.cq.analytics.testandtarget.impl.RestApiAdapter.create(RestApiAdapter.java:108) [com.adobe.cq.cq-target-integration:1.3.22]

... 143 common frames omitted

Caused by: java.lang.Exception: Unexpected response status code [403] for request [https://mc.adobe.io/ifactsolamericasptrsd/target/offers/content].

{"httpStatus":403,"requestId":"boE280AKewYYRVHQIyHwuMbaZFbd9dZH","requestTime":"2019-09-19 T15:38:45.817Z","errors":[{"errorCode":"Forbidden.Resource","message":"Access denied. To perform this operation, all of the following privileges are required \"[editor]\"."}]}

"

This looks like an access issue.

Translate
Level 2
Aug 6, 2021 5:14 AM UTC

Hi jbrar, I have configured IO and enabled integration through IMS in my local AEM 6.5.4 environment. I have changed my role to "Editor" as suggested by the error.log.

I am not using experience fragments export option yet, and using tutorial activities, audiences and offers creation.

When I reach the final step of  saving the created activity configuration, I keep getting this issue that I need to have the "Editor" role assigned.

Should I reconfigure the whole Target integration from scracth (IMS Config/ Target Config) when the role gets changed?

Translate
Level 3
Sep 19, 2019 3:43 PM UTC

Hi JaideepBrar​,

I see this error in error.log.

Caused by: com.day.cq.analytics.testandtarget.impl.service.WebServiceException: API request failed

at com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl.request(WebServiceImpl.java:607) [com.adobe.cq.cq-target-integration:1.3.22]

at com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl.request(WebServiceImpl.java:562) [com.adobe.cq.cq-target-integration:1.3.22]

at com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl.createOffer(WebServiceImpl.java:264) [com.adobe.cq.cq-target-integration:1.3.22]

at com.day.cq.analytics.testandtarget.impl.RestApiAdapter.create(RestApiAdapter.java:108) [com.adobe.cq.cq-target-integration:1.3.22]

... 143 common frames omitted

Caused by: java.lang.Exception: Unexpected response status code [403] for request [https://mc.adobe.io/ifactsolamericasptrsd/target/offers/content].

{"httpStatus":403,"requestId":"boE280AKewYYRVHQIyHwuMbaZFbd9dZH","requestTime":"2019-09-19T15:38:45.817Z","errors":[{"errorCode":"Forbidden.Resource","message":"Access denied. To perform this operation, all of the following privileges are required \"[editor]\"."}]}

at com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl.request(WebServiceImpl.java:604) [com.adobe.cq.cq-target-integration:1.3.22]

... 146 common frames omitted

Is there any configuration to create in target?

Do you have any ideia?

Thanks

Translate
Employee
Sep 19, 2019 2:50 PM UTC

Check error.log file for any errors when you try to export. Also, open Developer options "network" tab to check the failing requests.

You can also set up a DEBUG logger on the following classes to get more info about the error:

com.day.cq.personalization

com.day.cq.analytics.testandtarget

Translate