GraphQl endpoint is not working on aem author instance
Hi,
Recently, we have started seeing an issue with GraphQL queries in AEM Author across multiple environments. When executing grapgql queries, we receive a “Failed to load the GraphQL endpoint” error, even though the GraphQL endpoint appears to be configured correctly.
For some Content Fragment Models, we are also seeing traversal-related failures.
This behavior started after our recent deployment, where we migrated/updated the indexes as part of the simplified index management approach. However, we compared the previous and current index definitions and couldn't identify any significant changes that would explain the issue.
A few observations:
- The issue occurs only for one specific Content Fragment folder.
- Other folders containing Content Fragments based on the same model are able to fetch data successfully.
- The affected folder contains a comparatively larger number of Content Fragments, so we are unsure whether the issue is related to indexing/query traversal or the volume of content in that folder.
- The same queries were working correctly before the index migration, irrespective of the number of Content Fragments in the folder.
- In some cases, it appears to work on Publish, but this could potentially be due to cached responses/content.
- The GraphQL endpoint itself is already present and configured correctly.
Has anyone encountered similar GraphQL/traversal issues after migrating to simplified index management?
If the index definition and GraphQL endpoint configuration are correct, what else could cause the query to fail only for a particular Content Fragment folder? Could this be related to query traversal limits, index selection, stale/reindexing state, content volume, or the query not using the expected index?
Any suggestions on what we should validate next would be helpful.
