admin管理员组文章数量:1432205
I am using GraphQL with wpgraphql
inside a WP setup. I have been using the service without any problems until I updated a Custom Post Type and it stopped working.
message: "Internal server error", category: "internal",
But what is odd is that it still returns the data, along with the error.
Doing the same query in graphiQL works without any flaws. Looking at the request, the only difference is no cookies are sent with the failing request.
I have enabled: define( 'WP_DEBUG', true );
but no new errors are displayed.
The query is rather simple:
{
rankings {
edges {
node {
rankingId
id
mentStatus
content
date
title
uri
link
}
}
}
}
I am using GraphQL with wpgraphql
inside a WP setup. I have been using the service without any problems until I updated a Custom Post Type and it stopped working.
message: "Internal server error", category: "internal",
But what is odd is that it still returns the data, along with the error.
Doing the same query in graphiQL works without any flaws. Looking at the request, the only difference is no cookies are sent with the failing request.
I have enabled: define( 'WP_DEBUG', true );
but no new errors are displayed.
The query is rather simple:
{
rankings {
edges {
node {
rankingId
id
mentStatus
content
date
title
uri
link
}
}
}
}
Share
Improve this question
asked Jan 9, 2020 at 15:02
Jamie HutberJamie Hutber
28.1k54 gold badges194 silver badges313 bronze badges
1 Answer
Reset to default 2Use define( 'GRAPHQL_DEBUG', true );
to get the full error message from WPGraphQL
本文标签: javascriptGraphQL error Internal server error when accessing graphQLStack Overflow
版权声明:本文标题:javascript - GraphQL error: Internal server error when accessing graphQL - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745531779a2662094.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论