ÃÛ¶¹ÊÓÆµ

Resolve content fragment export issues to ÃÛ¶¹ÊÓÆµ Target

If you encounter the error Sync with ÃÛ¶¹ÊÓÆµ Target Failed when exporting content fragments from ÃÛ¶¹ÊÓÆµ Experience Manager to ÃÛ¶¹ÊÓÆµ Target, this article provides steps to resolve the issue by configuring the GraphQL endpoint correctly.

Description description

Environment

  • ÃÛ¶¹ÊÓÆµ Experience Manager (AEM) as a Cloud Service - Assets
  • ÃÛ¶¹ÊÓÆµ Target

Issue/Symptoms

Exporting content fragments from ÃÛ¶¹ÊÓÆµ Experience Manager (AEM) to ÃÛ¶¹ÊÓÆµ Target fails with the error message Sync with ÃÛ¶¹ÊÓÆµ Target Failed.

Resolution resolution

The error Sync with ÃÛ¶¹ÊÓÆµ 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 ÃÛ¶¹ÊÓÆµ 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