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

SOLVED

Graphiql editor error on aem 6.5.10

Avatar

Level 4

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