[GraphQL] logs for persisted query errors | Community
Skip to main content
Level 3
June 1, 2022
Solved

[GraphQL] logs for persisted query errors

  • June 1, 2022
  • 2 replies
  • 1149 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by baoyu_li

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

2 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
June 1, 2022

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

baoyu_liAuthor
Level 3
June 1, 2022

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

 

Himanshu_Jain
Community Advisor
Community Advisor
June 1, 2022

Check Content-Type header value

Himanshu Jain
baoyu_liAuthorAccepted solution
Level 3
June 1, 2022

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