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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

ACS and AEM6.2 - 'GetAEMContentList'

polizzigaetano-
Level 2
Level 2

Hi everyone

I found an issue on ACS while getting emails created on AEM6.2 On-Premise.

This is what I did:

  1. I verified the integration between AEM6.2 and ACS by Cloud Services and it works because we are able to choose the correct Campaign Template from Page Properties in AEM6.2
  2. campaign-remote user in AEM6.2 has correct password and it’s the same set inside ACS External Account
  3. campaign-remote, in AEM6.2, has the following permission EVERYONE
  4. The AEM user in Adobe Campaign has the correct password provided by Adobe Campaign Support Team.

I created correctly the AEM template inside ACS as described in the official Documentation

  1. When I try to import the email created inside AEM into Campaign AEM Template we got the following error (you can see the screenshot attached)
    error.png
  • Inspecting the Google Chrome Console, while retrieving the list of emails created inside the AEM6.2 there is the following 500 error:

https%3A%2F%2(tenant name hidden)-mkt-stage1.campaign.adobe.com%2Frest%2Fhead%2Fdelivery%2F%2540n3QzGAFa4MzxBlkO9ZJxrbX5zGNRBGC0trLYTZ1luMG0U_IysGbAEhJ-GNe6z-_Yitj9SqRQDnNWZraNcvi1wx-NvL0%2FaemContents%2F%3FlabelFilter%3D%26approvedFilter%3Dtrue%26linkedFilter%3Dfalse%26_order%3DlastModified%2520desc%26_lineStart%3D0%26_lineCount%3D30

The answer is:

XTK-170019 Access denied.
SOP-330011 Error while executing the method 'GetAEMContentList' of service 'nms:delivery'.
XTK-170006 Unable to parse expression 'GetAEMContentList($(labelFilter) , $(approvedFilter) , $(linkedFilter) , $(_order) , $(_lineCount) , $(_lineStart))'.
XTK-170006 Unable to parse expression 'GetAEMContentList($(labelFilter) , $(approvedFilter) , $(linkedFilter) , $(_order) , $(_lineCount) , $(_lineStart))'.

- Inspecting the AEM6.2 author error.log we got the following GET request:
10.10.2017 12:36:38.396 *INFO* [52.213.132.36 [1507631798395] GET /api/content/sites/campaigns.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /api/content/sites/campaigns.json not found

1 Accepted Solution
polizzigaetano-
Correct answer by
Level 2
Level 2

Hi,

after a deep analysis the problem was on dispatcher level.

The problem occurred by missing authorization value declaration from the /clientheaders dispatcher section.

View solution in original post

0 Replies
Kornel_Keseru
Level 3
Level 3

Hi,

I've the same setup and ACS can get the template list from AEM successfully.

Have you modified the permissions of the campaign-remote user? By default it should have access to /content/campaigns. Does this path exist on your AEM instance? Pulling in email templates is possible from this path only. The /content/campaigns path is hard-coded, and only the resource types of your email templates can be configured on ACS side.

polizzigaetano-
Correct answer by
Level 2
Level 2

Hi,

after a deep analysis the problem was on dispatcher level.

The problem occurred by missing authorization value declaration from the /clientheaders dispatcher section.

View solution in original post

sindhug14537977
Level 2
Level 2

polizzigaetano-codeland

i found the same error even after doing everything mentioned. can you please let me know authorization value you added for the integration to work.

should i white-list something.

Thank You!