Problem when export experience fragment to Adobe Target | Community
Skip to main content
New Participant
September 19, 2019
Solved

Problem when export experience fragment to Adobe Target

  • September 19, 2019
  • 14 replies
  • 19504 views

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.
Best answer by leoberliant

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

14 replies

New Participant
September 19, 2019

Hi,

Where can I configure access to integration?

Thanks

Employee
September 19, 2019

"

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.

New Participant
August 6, 2021

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?

New Participant
September 19, 2019

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

Employee
September 19, 2019

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