Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Issues with exporting experience fragment to Target

Avatar

Level 4

Hello All, I am having some issues with exporting experience fragment to Target. I see the below errors in the log. Per the log, it looks like the permission issue, I have already verified the workspace permission in Target and it is already having "Approver" access in API integration for the workspace.

 

AEM Version:

6.5.16.0

 

Error Log:

com.day.cq.analytics.testandtarget.impl.service.WebServiceImpl Unexpected response status code [403] for request [https://mc.adobe.io/uhc/target/offers/content?includeMarketingCloudMetadata=true].

{"httpStatus":403,"requestId":"6LabZLP9kw1i2pjsenaQ5f97ro1laVsf","requestTime":"2023-04-11T13:49:45.500267Z","errors":[{"errorCode":"Forbidden.Resource","message":"Access denied. To perform this operation, all of the following privileges are required \"[editor]\".","meta":{}}]}

 

I have also verified the "Adobe IMS Configurations", it looks good.

aemninja_0-1681259057139.png

I see this error when export to target option is clicked. 

aemninja_1-1681259124114.png

 

The only issue, I see issue is. under "Cloud Services" tab (under properties), The Adobe Target Workspace is blank. We are using standard Target account. What could be the issue with the dropdown (i.e blank).

 

aemninja_2-1681259299334.png

 

/libs/cq/experience-fragments/content/experience-fragments/folderproperties/jcr:content/content/items/tabs/items/cloudservices/items/column_1/items/columnexport/items/dropdown/datasource

The dropdown is getting populated based on the below sling:resourceType.

aemninja_3-1681259486751.png

 

Can someone tell me what could be the issue with this dropdown. I don't think permission is the issue here, even though the log says permission issue. If we fix the dropdown issue, t

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 2

I have faced this issue while exporting the XF to target. It's a permission issue only. We have resolved this issue by following below steps:

 

1. Login to https://adminconsole.adobe.com/

2. Navigate to products then select Adobe target-<your-tenant-id>

3.Select product profiles, then your workspace from list

4. Select API credentials 

4. Select Editor as the product role instead of approver or observer.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 2

I have faced this issue while exporting the XF to target. It's a permission issue only. We have resolved this issue by following below steps:

 

1. Login to https://adminconsole.adobe.com/

2. Navigate to products then select Adobe target-<your-tenant-id>

3.Select product profiles, then your workspace from list

4. Select API credentials 

4. Select Editor as the product role instead of approver or observer.

Avatar

Level 4

Thanks for your reply. I have already changed the role from approver to editor but still the dropdown is blank. Do we need to restart any bundle?