Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 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