js-graphql-intellij-plugin icon indicating copy to clipboard operation
js-graphql-intellij-plugin copied to clipboard

GraphQL intropection: The server introspection response cannot be parsed as a valid JSON object.

Open gopherhiro opened this issue 1 year ago • 2 comments

GraphQL intropection: The server introspection response cannot be parsed as a valid JSON object. how to fix it ? i don't know.

gopherhiro avatar Feb 01 '24 06:02 gopherhiro

I am getting the same error for remote schema https://api.monday.com/v2/get_schema It seems it gets HTML page instead the JSON and therefore it is not able to parse it.

I have no idea why, even simple curl https://api.monday.com/v2/get_schema gets me the right JSON file without any extra parameters or headers being provided.

JJetmar avatar Feb 23 '24 08:02 JJetmar

Update: using http:// instead of https:// solved the issue for me and allowed me to move forward...

JJetmar avatar Feb 23 '24 08:02 JJetmar