usebruno/bruno · error · Error
Introspection query failed
Error message
Introspection query failed
What it means
Error "Introspection query failed" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/useGraphqlSchema.js:53
try {
const saved = localStorage.getItem(localStorageKey);
if (!saved) {
return null;
}
let parsedData = safeParseJSON(saved);
const { schema } = buildAndValidateSchema(parsedData);
return schema;
} catch (err) {
localStorage.removeItem(localStorageKey);
console.warn('Failed to load cached GraphQL schema:', err.message);
return null;
}
});
const loadSchemaFromIntrospection = async () => {
const response = await fetchGqlSchema(endpoint, environment, request, collection);
if (!response) {
throw new Error('Introspection query failed');
}
if (response.status !== 200) {
throw new Error(response.statusText);
}
const data = response.data?.data;
if (!data) {
throw new Error('No data returned from introspection query');
}
setSchemaSource('introspection');
return data;
};
const loadSchemaFromFile = async () => {
const schemaContent = await ipcRenderer.invoke('renderer:load-gql-schema-file');
if (!schemaContent) {
setIsLoading(false);
return;
}View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Check that the GraphQL endpoint URL is correct and reachable.
- Verify auth headers and that the server supports introspection (it may be disabled in production).
When it happens
Trigger: Thrown at packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/useGraphqlSchema.js:53 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of usebruno/bruno@9bdd81c7bd (2026-08-13).
Data as JSON: /api/errors/b23f92418375deb9.
Report an issue: GitHub.