Kong/insomnia · error

Failed to query ${name}: no data returned

Error message

Failed to query ${name}: no data returned

What it means

Error "Failed to query ${name}: no data returned" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia-vcs/src/vcs.ts:973

    return snapshot;
  }

  async _runGraphQL<T>(query: string, variables: Record<string, any>, name: string): Promise<T> {
    const { sessionId } = await this._assertSession();
    const { data, errors } = await runVcsGraphQL<T>({
      query,
      variables,
      sessionId,
      name,
    });

    if (errors && errors.length) {
      console.log(`[sync] Failed to query ${name}`, errors);
      throw new Error(`Failed to query ${name}: ${errors[0].message}`);
    }

    if (data == null) {
      throw new Error(`Failed to query ${name}: no data returned`);
    }

    return data;
  }

  async _queryBlobsMissing(ids: string[]): Promise<string[]> {
    const { blobsMissing } = await this._runGraphQL<{ blobsMissing: { missing: string[] } }>(
      `
          query ($projectId: ID!, $ids: [ID!]!) {
            blobsMissing(project: $projectId, ids: $ids) {
              missing
            }
          }
        `,
      {
        ids,
        projectId: this._backendProjectId(),
      },

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia-vcs/src/vcs.ts:973 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Kong/insomnia@d9bb2b0142 (2026-08-26). Data as JSON: /api/errors/ae11b4ed3e4e25d9. Report an issue: GitHub.