{"record":{"id":"887e06cab98ecb4e","repo":"usebruno/bruno","slug":"no-data-returned-from-introspection-query","errorCode":null,"errorMessage":"No data returned from introspection query","messagePattern":"No data returned from introspection query","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/useGraphqlSchema.js","lineNumber":60,"sourceCode":"      return schema;\n    } catch (err) {\n      localStorage.removeItem(localStorageKey);\n      console.warn('Failed to load cached GraphQL schema:', err.message);\n      return null;\n    }\n  });\n\n  const loadSchemaFromIntrospection = async () => {\n    const response = await fetchGqlSchema(endpoint, environment, request, collection);\n    if (!response) {\n      throw new Error('Introspection query failed');\n    }\n    if (response.status !== 200) {\n      throw new Error(response.statusText);\n    }\n    const data = response.data?.data;\n    if (!data) {\n      throw new Error('No data returned from introspection query');\n    }\n    setSchemaSource('introspection');\n    return data;\n  };\n\n  const loadSchemaFromFile = async () => {\n    const schemaContent = await ipcRenderer.invoke('renderer:load-gql-schema-file');\n    if (!schemaContent) {\n      setIsLoading(false);\n      return;\n    }\n    setSchemaSource('file');\n    return schemaContent?.data || schemaContent;\n  };\n\n  const loadSchema = async (schemaSource) => {\n    if (isLoading) {\n      return;","sourceCodeStart":42,"sourceCodeEnd":78,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/useGraphqlSchema.js#L42-L78","documentation":"Error \"No data returned from introspection query\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/useGraphqlSchema.js:60 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Confirm the endpoint actually returns a schema for the introspection query.","Check server logs; enable introspection on the GraphQL server if disabled."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9bdd81c7bdc57006e5f5ebffb79321a8d979f712","analyzedAt":"2026-08-13T04:09:25.751Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}