Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Graphiql editor error on aem 6.5.10

Avatar

Level 5

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

hi @ravi_joshi ,

 

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

kishorekumar14_0-1634447359968.png

 

Please check in below link for more details.

 

https://www.albinsblog.com/2021/10/how-to-deliver-headless-content-through-graphql-api-and-content-f... 

 

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

hi @ravi_joshi ,

 

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

kishorekumar14_0-1634447359968.png

 

Please check in below link for more details.

 

https://www.albinsblog.com/2021/10/how-to-deliver-headless-content-through-graphql-api-and-content-f...