I could not run any graphql in aem 6.5 instance. I get error Response.text: Body has already been consumed when I run a query.
Ensured below configuration is in place,
CSRF Config
GraphQL Endpoint
GraphQL query interface
CF Model API Name
Error log :-
==> request.log <==
07/Jun/2022:11:53:07 +0530 [1352] -> POST /content/_cq_graphql/global/endpoint.json HTTP/1.1
==> error.log <==
07.06.2022 11:53:07.326 *INFO* [127.0.0.1 [1654582987313] POST /content/_cq_graphql/global/endpoint.json HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter isValidRequest: empty CSRF token - rejecting
07.06.2022 11:53:07.326 *INFO* [127.0.0.1 [1654582987313] POST /content/_cq_graphql/global/endpoint.json HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter doFilter: the provided CSRF token is invalid
==> request.log <==
07/Jun/2022:11:53:07 +0530 [1352] <- 403 text/html 19ms
==> access.log <==
127.0.0.1 - admin 07/Jun/2022:11:53:07 +0530 "POST /content/_cq_graphql/global/endpoint.json HTTP/1.1" 403 433 "http://localhost:4502/content/graphiql.html?sd" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0"
I tried to restart my instance too
Views
Replies
Total Likes
This thread is dealing accessing servlet via dispatcher. For me it is struck at author instance itself.
Hi @Mario248
Were you able to find a solution to this.
I am facing the same issue and if this worked for you on author. We are using same 6.5.13 version.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies