Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

GraphQLPersisted Query endpoint not working in Publisher

Avatar

Level 3

Hi All,

 

Can some one help me with below issue.

 

GraphQl persisted query endpoints aren't working in the publisher for me. To give an example when I hit below url to fetch list of all persisted queries . I get bundle name instead of query list. This issue is seen on publisher.

 

https://<aemhost:port>/graphql/list.json

 

{
    "sling:resourceSuperType""sling/bundle/resource",
    "servletClass""com.adobe.aem.graphql.impl.servlet.PersistedQueryServlet",
    "sling:resourceType""/graphql/list.servlet",
    "servletName""com.adobe.aem.graphql.impl.servlet.PersistedQueryServlet"
}
 
Regards,
Priya
1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi All, 

 

We have resolved this issue by adding "/graphQL/" in Servlet resolver path in the config "Apache Sling Servlet/Script Resolver and Error Handler" . 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

Hi All, 

 

We have resolved this issue by adding "/graphQL/" in Servlet resolver path in the config "Apache Sling Servlet/Script Resolver and Error Handler" .