Debug JSON error on remote schema #6741
Unanswered
edouardouvrard
asked this question in
Question
Replies: 1 comment 2 replies
-
I'm also seeing this kind of problem when querying a remote Weaviate API https://github.com/semi-technologies/weaviate. {
"type":"http-log",
"timestamp":"2021-04-11T22:38:12.583+0000",
"level":"error",
"detail":{
"operation":{
"user_vars":{"x-hasura-role":"admin"},
"error":{
"path":"$",
"error":"Received invalid JSON value from remote",
"code":"remote-schema-error"
},
"request_id":"0bd43c27d103a1069c91e66c5d5c780e",
"response_size":91,
"query":{
"operationName":"MyQuery",
"query":"query MyQuery {\n Aggregate {\n Article {\n title {\n count\n }\n }\n }\n}\n"}},
"request_id":"0bd43c27d103a1069c91e66c5d5c780e",
"http_info":{
"status":200,
"http_version":"HTTP/1.1",
"url":"/v1/graphql",
"ip":"192.168.2.162","method":"POST","content_encoding":null
}
}
} The same query works when hitting Weaviate directly. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm getting this error from a remote schema query :
Received invalid JSON value from remote
How can i debug the raw response received by hasura that causing this error ?
Log on my server show a valid json.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions