JetBrains / js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
MIT License
880 stars 97 forks source link

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

Open gopherhiro opened 8 months ago

gopherhiro commented 8 months ago

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

JJetmar commented 7 months ago

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 commented 7 months ago

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