usebruno/bruno · error · Error
No data returned from introspection query
Error message
No data returned from introspection query
What it means
Error "No data returned from introspection query" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/useGraphqlSchema.js:60
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;
}
setSchemaSource('file');
return schemaContent?.data || schemaContent;
};
const loadSchema = async (schemaSource) => {
if (isLoading) {
return;View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Confirm the endpoint actually returns a schema for the introspection query.
- Check server logs; enable introspection on the GraphQL server if disabled.
When it happens
Trigger: Thrown at packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/useGraphqlSchema.js:60 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/887e06cab98ecb4e.
Report an issue: GitHub.