Kong/insomnia · error · Error
Error in response: no header result is found
Error message
Error in response: no header result is found
What it means
Error "Error in response: no header result is found" thrown in Kong/insomnia.
Source
Thrown at packages/insomnia/src/plugins/context/network.ts:90
},
cookies: [],
suppressUserAgent: false,
settingFollowRedirects,
settingRebuildPath: true,
settingSendCookies: true,
...originRequest,
},
finalUrl: originRequest.url,
settings,
certificates: [],
caCertficatePath,
});
const { headerResults, patch, responseBodyPath } = response;
if (patch.error) {
throw new Error(patch.error);
}
if (headerResults.length === 0) {
throw new Error('Error in response: no header result is found');
}
const lastRedirect = headerResults[headerResults.length - 1];
if (!lastRedirect) {
throw new Error('Error in response: the lastRedirect is not defined');
}
const bodyResult = await services.helpers.readCurlResponse({
bodyPath: responseBodyPath,
bodyCompression: patch.bodyCompression,
});
return {
code: lastRedirect.code,
reason: lastRedirect.reason,
headers: lastRedirect.headers,
responseTime: patch.elapsedTime,
body: bodyResult.body,
ok: lastRedirect.code >= 200 && lastRedirect.code < 300,
status: lastRedirect.reason || RESPONSE_CODE_REASONS[lastRedirect.code] || 'Unknown',View on GitHub (pinned to d9bb2b0142)
When it happens
Trigger: Thrown at packages/insomnia/src/plugins/context/network.ts:90 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/729e63857770bba5.
Report an issue: GitHub.