Internal Server Error when fetching an AEM template from the Campaign console

Learn how to solve the error in the Internal Server when fetching an AEM template from the Campaign console using Setting Replication Privileges in the Administering Guide.

Description description

Environment

  • AEM/Campaign Integration
  • Syncing templates from AEM to Campaign

Issue/Symptoms

Internal server error in Campaign when syncing templates from AEM:

INT-150012 The HTTP query returned a 'Internal Server error' type error (500)
Current session is not authorized to replicate /content/dam/<xxx>/support/images/others/ophone-x.png

Additional error in AEM layer:

03.08.2020 11:21:12.517 *WARN* [ qtp1229648141-8634]  com.adobe.ams.environment.indicator.wcm.impl.AemEnvironmentIndicatorFilter not accepted for uri /mnt/overlay/granite/ui/content/shell/header/actions/pulse.data.json
03.08.2020 11:21:14.038 *WARN* [ qtp1229648141-8819]  com.adobe.ams.environment.indicator.wcm.impl.AemEnvironmentIndicatorFilter not accepted for uri /content/campaigns/<xxx>/mobile/<xxx>/samsung-note9.campai
gn.link.json
03.08.2020 11:21:14.046 *ERROR* [ 10.44.3.4 [ 1596453674038]  POST /content/campaigns/<xxx>/mobile/<xxx>/samsung-note9.campaign.link.json HTTP/1.1]  com.adobe.cq.mcm.campaign.servlets.LinkServlet Caught excepti
on while serving link/unlink request
java.lang.NullPointerException: null

Additional error in Campaign layer:

2020-08-05 05:56:17 Error during synchronization process
2020-08-05 05:56:17 INT-150012 The HTTP query returned a 'Internal Server Error' type error (500) (iRc=-53)

Resolution resolution

Confirm that the Campaign user in AEM has replication rights.  For steps, refer to Setting Replication Privileges in the Administering Guide.

Cause
If the Campaign user does not have replication rights, it cannot copy content from AEM.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f