Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

[GraphQL] logs for persisted query errors

Avatar

Level 3

hi guys,

 

Does anyone knows where to check error logs for persisted query?

I got one error in my local testing (see below) but could not find any errors in error.log. Did I miss something?

Screenshot 2022-06-01 at 2.08.47 PM.png

1 Accepted Solution

Avatar

Correct answer by
Level 3

my bad, it should be graphql/execute.json rather than graphql/persist.json

View solution in original post

4 Replies

Avatar

Employee Advisor

@baoyu_li can you install fiddler or check the network tab and see the request and header. Looks like an issue with a Mime type.

Avatar

Level 3

right, it may not hit AEM at all? it is 415 error, any idea how to fix it?

Screenshot 2022-06-01 at 3.30.55 PM.png

 

Avatar

Community Advisor

Check Content-Type header value

Himanshu Jain

Avatar

Correct answer by
Level 3

my bad, it should be graphql/execute.json rather than graphql/persist.json