Resolving HTTP 500 errors during Product Functional Testing in AEM as a Cloud Service

Adobe Experience Manager as a Cloud Service (AEMaaCS) deployments may fail during Product Functional Testing with persistent HTTP 500 errors when conflicting or duplicate Commerce Integration Framework (CIF) component versions are introduced through project dependencies or the Reference Demos add-on. To resolve the issue, remove unnecessary CIF dependencies or demo modules, ensure required CIF components use a consistent version, and rerun the Cloud Manager pipeline.

Description description

Environment

Adobe Experience Manager as a Cloud Service (AEMaaCS) (all versions)

Issue/Symptoms

  • The Cloud Manager pipeline completes the build, image creation, and environment deployment but fails during Product Functional Testing.

  • Automated tests return persistent HTTP 500errors from both Author and Publish.

  • Test logs show failures such as:

    • Created pages aren’t visible.
    • Activation doesn’t propagate.
    • Requests to test pages continue to return HTTP 500 after multiple retries.
  • Cloud Manager pipeline logs indicate that custom application code interferes with core product functionality.

Root cause

Conflicting or duplicate Commerce Integration Framework (CIF) component versions can cause the HTTP 500 errors. The conflict may be introduced by enabling the AEM Reference Demos add-on or by including CIF-related dependencies or demo modules in the project. The resulting application-level errors prevent core product functionality from working during automated tests.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Review the Cloud Manager Git repository for CIF-related dependencies:

    • Open the project’s parent POM file.
    • Remove CIF-related dependencies such as core-cif-components-core or magento-graphql.
    • In the modules section, comment out or remove demo modules that introduce CIF dependencies, such as aem-cif-guides-venia or wknd-commerce.
  2. If the AEM Reference Demos add-on isn’t required:

    • In Cloud Manager, go to the program’s Solutions & Add-ons section.
    • Clear Reference Demos for the affected program and save the changes.
    • Disabling the Reference Demos add-on removes the demo content provisioned by it after the next successful deployment.
  3. If CIF functionality is required:

    • Ensure that only one version of core-cif-components-core is present across all project modules.
    • Update all modules and demo bundles to use the same CIF version.
    • Verify active bundles and their versions in the AEM Web Console at /system/console/bundles. Appropriate access is required.
  4. Commit and push the changes to the repository’s main branch.

  5. Run the Cloud Manager pipeline again.

  6. After deployment, verify that Product Functional Testing passes and that HTTP 500 errors no longer occur. Requests to test pages such as /content/test-site/testpage_*.html should return HTTP 200.

recommendation-more-help
experience-cloud-kcs-help-kbarticles