Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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

Correct answer by
Level 3

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