Graphiql editor error on aem 6.5.10 | Community
Skip to main content
Ravi_Joshi
Level 4
October 14, 2021
Solved

Graphiql editor error on aem 6.5.10

  • October 14, 2021
  • 1 reply
  • 3659 views

Hi Team,

 

I am facing an error while opening graphiql editor on aem 6.5.10. And my AEM instance is running on 4502 port.

Could you please suggest any thoughts on the same ?

 

Error :

{
"message": "Failed to execute 'text' on 'Response': body stream already read",
"stack": "TypeError: Failed to execute 'text' on 'Response': body stream already read\n at http://localhost:4502/content/graphiql.html:81:33"
}

 

 

Thanks,

Ravi Joshi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kishore_Kumar_

hi @ravi_joshi ,

 

Please ensure the below paths are whitelisted in the CSRF filter.

 

Please check in below link for more details.

 

https://www.albinsblog.com/2021/10/how-to-deliver-headless-content-through-graphql-api-and-content-fragments-in-aem.html#.YWuvpBpBzIX 

 

 

 

1 reply

Kishore_Kumar_
Kishore_Kumar_Accepted solution
Level 9
October 14, 2021

hi @ravi_joshi ,

 

Please ensure the below paths are whitelisted in the CSRF filter.

 

Please check in below link for more details.

 

https://www.albinsblog.com/2021/10/how-to-deliver-headless-content-through-graphql-api-and-content-fragments-in-aem.html#.YWuvpBpBzIX