Kong/insomnia · error
Extract failed
Error message
Extract failed
What it means
Sentinel error from getFilesFromPostmanExportedDataDump: the importer runtime threw while extracting the JSON files from a Postman data-dump archive (invalid zip, missing entries, unreadable content). The original exception is swallowed and replaced by this generic 'Extract failed' message.
Solutions
- Re-download/re-export the Postman data dump
- Confirm the file is a Postman 'Data Dump' archive and not a collection JSON
- Check the file is a valid zip
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at packages/insomnia/src/common/import.ts:114 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/cf3c6b86fcf286f8.
Report an issue: GitHub.
Appendix: source
Thrown at packages/insomnia/src/common/import.ts:114
return getRuntime().importer.insecureReadFile(path);
}
// Treat everything else as raw text
const content = decodeURIComponent(uri);
return content;
}
export interface PostmanDataDumpRawData {
collectionList: ImportEntry[];
envList: ImportEntry[];
}
export async function getFilesFromPostmanExportedDataDump(filePath: string): Promise<PostmanDataDumpRawData> {
let res;
try {
res = await getRuntime().importer.extractJsonFileFromPostmanDataDumpArchive(filePath);
} catch {
throw new Error('Extract failed');
}
if (res && res.data) {
return res.data;
} else if (res?.err) {
throw new Error(res.err);
} else {
throw new Error('Extract failed');
}
}
export interface ScanResult {
requests?: (Request | WebSocketRequest | GrpcRequest | SocketIORequest)[];
workspaces?: Workspace[];
environments?: Environment[];
apiSpecs?: ApiSpec[];
cookieJars?: CookieJar[];
unitTests?: UnitTest[];
unitTestSuites?: UnitTestSuite[];View on GitHub (pinned to d9bb2b0142)