Resolve content fragment export issues to Adobe Target

If you encounter the error Sync with Adobe Target Failed when exporting content fragments from Adobe Experience Manager to Adobe Target, this article provides steps to resolve the issue by configuring the GraphQL endpoint correctly.

Description description

Environment

  • Adobe Experience Manager (AEM) as a Cloud Service - Assets
  • Adobe Target

Issue/Symptoms

Exporting content fragments from Adobe Experience Manager (AEM) to Adobe Target fails with the error message Sync with Adobe Target Failed.

Resolution resolution

The error Sync with Adobe Target Failed typically indicates a problem with the GraphQL endpoint configuration. This could mean that the endpoint is missing, misconfigured, or not published correctly. You should:

  1. Check your existing GraphQL endpoint configuration by navigating to your AEM author instance’s GraphQL console at /libs/cq/graphql/sites/admin/content/console.html. Verify if a GraphQL endpoint has already been created for the specific project. Ensure that the endpoint is properly configured and published.
  2. If no endpoint exists or the existing endpoint is misconfigured, create a new GraphQL endpoint under /content/cq:graphql/<project-name>/endpoint for your desired project. Publish the newly created endpoint. For more details, refer to Enable GraphQL Endpoint in AEM Tutorials.
  3. Associate the configured GraphQL endpoint with the relevant folder in AEM. Test exporting content fragments again after applying this configuration.
  4. Once the above steps are completed, attempt exporting content fragments from AEM to Adobe Target. Verify that no errors occur and that exports are successful.

By following these steps, you can ensure that the GraphQL endpoint is correctly set up and applied, resolving the export issue.

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