Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
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