Cannot serve request to /content/graphiql/ in org.apache.sling.servlets.get.DefaultGetServlet

Avatar

Avatar
Validate 1
Level 1
bpeddapudi
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
bpeddapudi
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
bpeddapudi
Level 1

08-07-2021

I want to use GraphQL for a poc. I am reffereing to this documentation.

I don't see GraphQL persistent Queries option in my configuration under Tools > General > Configuration browser nor I see any GraphQL option under Tools > Assets.

I tried installing the GraphiQL interface from this link But now if I am trying to access http://localhost:4502/content/graphiql/ I am getting the below issue.

Screen Shot 2021-07-08 at 7.01.51 PM.png

 I have AEM v6.0 on my local. Is there something else I need to do to use GraphiQL?

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
Level 5
BrijeshYadav
Level 5

Likes

59 likes

Total Posts

102 posts

Correct reply

19 solutions
Top badges earned
Springboard
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Springboard
Level 5
BrijeshYadav
Level 5

Likes

59 likes

Total Posts

102 posts

Correct reply

19 solutions
Top badges earned
Springboard
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
BrijeshYadav
Level 5

09-07-2021

Hi @bpeddapudi ,
You should have AEM 6.4.2.0 for content fragmentation because GraphQl api works on content fragments.

Also GraphQL currently only available for AEM SDK or AEM as Cloud Service. Some help can be found here 
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/g....


Here are other useful documentation for further help
Enable the GraphQL interface
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/admin/graphql-api-co...

 

Installing the AEM GraphiQL interface
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/admin/graphql-api-co...

/Brijesh

Avatar

Avatar
Boost 100
Level 6
Dipti_Chauhan
Level 6

Likes

114 likes

Total Posts

136 posts

Correct reply

40 solutions
Top badges earned
Boost 100
Give Back 10
Affirm 25
Boost 50
Boost 25
View profile

Avatar
Boost 100
Level 6
Dipti_Chauhan
Level 6

Likes

114 likes

Total Posts

136 posts

Correct reply

40 solutions
Top badges earned
Boost 100
Give Back 10
Affirm 25
Boost 50
Boost 25
View profile
Dipti_Chauhan
Level 6

08-07-2021

Hi @bpeddapudi  

 Are you using AEMaaCS? I think graphiQL interface only works with AEMaaCS.

 

Thanks

Dipti