Skip to main content
Level 3
June 24, 2022
Solved

GraphQLPersisted Query endpoint not working in Publisher

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
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
aem_savyAccepted solution
Level 3
June 29, 2022

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" . 

1 reply

aem_savyAuthorAccepted solution
Level 3
June 29, 2022

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" . 

Translate