Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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 Reply

Avatar

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