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

AEM6.2 (On-Premise) and ACS - 'GetAEMContentList'

Avatar

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

Avatar

Correct answer by
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

4 Replies

Avatar

Level 10

It seems you question is about AEM and Campaign integration. Watch this Ask the AEM Experts on this subject  -- Scott's Digital Community: Ask the AEM Community Expert Nov Session: Best Practices for using Experi...

Avatar

Correct answer by
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.

Avatar

Level 2

Hi polizzigaetano,

 

We are also facing similar type of issue, could you please let me know what authorization value you added to fix this issue.

 

Thanks

Avatar

Level 2

Hi,

I'm facing the same issue that you mentioned above while integrating AEM 6.3 and ACS(on-premise).

Can you please specify which Authorization value to be added in dispatcher.

Thank You!