Troubleshooting custom AEM Assets to Salsify PIM integration event handler registration issues

This article explains how to troubleshoot and resolve issues where a custom integration between Adobe Experience Manager (AEM) Assets and Salsify PIM fails because the custom event handler or servlet doesn’t register or execute in your AEM environment.

Description description

Custom integrations between AEM Assets and Salsify PIM often rely on event handlers or servlets to detect asset changes and trigger synchronization. In some cases, these custom components don’t register or execute in the AEM environment, resulting in assets not being published to Salsify. This issue can occur even if the AEM platform and API keys are healthy, and the integration works in a non-production environment.

Environment

  • Adobe Experience Manager as a Cloud Service (AEMaaCS)
  • Custom AEM Assets to Salsify PIM integration

Symptoms

  • Assets aren’t published from AEM to Salsify, as expected.
  • No log entries (success or error) are found for the custom connector’s entry-point logic.
  • Rotating or updating Salsify API keys doesn’t resolve the issue.
  • The custom event handler or servlet isn’t visible in the OSGi system console.
  • The integration works in a non-production environment but not in the target AEM environment.

Cause

The root cause is typically that the custom event handler or servlet for the Salsify integration isn’t registering or executing in the AEM environment. This is often due to OSGi component registration issues or dependency mismatches, even when the AEM platform and API keys are functioning correctly.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Confirm that the custom event handler or servlet bundle is registered and active in your AEM environment using the AEM Developer Console or OSGi system console.
  2. Check for any Unsatisfied OSGi components, which may indicate missing or incompatible dependencies.
  3. Review the deployed bundle’s manifest and pom.xml for all declared dependencies. Ensure that all required dependencies are present and compatible with your AEM version.
  4. Build and deploy the custom connector using the exact AEM SDK and dependency versions from your target environment. Attempt to reproduce the issue in a non-production environment to isolate the cause.
  5. Review AEM error logs for any runtime exceptions or OSGi component errors related to the custom bundle.
  6. If dependency mismatches or missing packages are identified, update the dependencies, and redeploy the bundle through Cloud Manager or your deployment pipeline.
  7. After redeployment, verify that the custom event handler or servlet is visible and active in the OSGi system console and that assets are being published to Salsify, as expected.
recommendation-more-help
experience-cloud-kcs-help-kbarticles