[GraphQL] logs for persisted query errors | Community
Skip to main content
Level 3
Jun 1, 2022 6:14 AM UTC
Solved

[GraphQL] logs for persisted query errors

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.
baoyu_liAccepted solution
Level 3
Jun 1, 2022 9:41 AM UTC

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

4 replies

baoyu_liAuthorAccepted solution
Level 3
Jun 1, 2022 9:41 AM UTC

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

Translate
Mayank_Gandhi
Employee
Jun 1, 2022 7:21 AM UTC

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

Translate
baoyu_liAuthor
Level 3
Jun 1, 2022 7:32 AM UTC

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

 

Translate
Himanshu_Jain
New Participant
Jun 1, 2022 9:20 AM UTC

Check Content-Type header value

Translate
Himanshu Jain