apollographql / apollographql/apollo-tooling

Error: Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: null.

Open
#2,152 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

**Intended outcome:**

I can use apollo VS code extension without errors

**Actual outcome:**

I get the following error from the extension:

> Error: Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: null.

**How to reproduce the issue:**

My config file is like this:

```
module.exports = {
client: {
service: {
name: 'API GraphQl',
service: 'service-name@master'
}
}
}
```
The master variant exists and has been recently updated.

**Versions**

`"apollo": "^2.31.0",`

Contributor guide

Open the contributing guide

Research direction

Start with the Apollo VS Code extension and the shown client.service configuration, then reproduce the failure using the existing master variant and inspect the introspection response. Done means the extension accepts the service response and no longer reports an invalid or incomplete introspection result.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript, vscode
Domain
api, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.