Skip to main content
Level 3
6月 1, 2022 6:14 上午 UTC
已解决

[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?

此主题已关闭回复。
baoyu_li回答
Level 3
6月 1, 2022 9:41 上午 UTC

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

4回复

Mayank_Gandhi
Adobe Employee
Adobe Employee
6月 1, 2022 7:21 上午 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.

翻译
baoyu_li作者
Level 3
6月 1, 2022 7:32 上午 UTC

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

 

翻译
Himanshu_Jain
Community Advisor
Community Advisor
6月 1, 2022 9:20 上午 UTC

Check Content-Type header value

翻译
Himanshu Jain
baoyu_li作者回答
Level 3
6月 1, 2022 9:41 上午 UTC

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

翻译