Kong/insomnia · error · Error
Project creation failed
Error message
Project creation failed
What it means
Error "Project creation failed" thrown in Kong/insomnia.
Source
Thrown at packages/insomnia/src/ui/components/modals/import-modal/import-projects-modal.tsx:588
});
};
// Only skip the project when it's not in pending status, otherwise we need to add a new status or more to tell the user that the project is created but not imported or xxx.
if (latestProcessingCancelled.current || unmountRef.current) {
updateProjectItem({ status: ImportStatus.SKIPPED });
return;
}
try {
updateProjectItem({ status: ImportStatus.CREATING });
const createdProjectId = await createProject(organizationId, {
storageType: 'remote',
name: project.name,
});
if (!createdProjectId) {
throw new Error('Project creation failed');
}
console.debug('[Bulk Project Import] Created project ID:', createdProjectId);
updateProjectItem({ status: ImportStatus.IMPORTING, id: createdProjectId });
const filePaths = await project.folder.getFilePaths();
// Use archive.json to identify Postman environment files, only consider the first one currently.
const archiveFileIndex = filePaths.findIndex(
filePath => filePath.endsWith('/archive.json') || filePath.endsWith('\\archive.json'),
);
let postmanArchiveFile: string | null = null;
if (archiveFileIndex !== -1) {
postmanArchiveFile = filePaths[archiveFileIndex];
filePaths.splice(archiveFileIndex, 1);
}
if (!filePaths.length) {View on GitHub (pinned to d9bb2b0142)
When it happens
Trigger: Thrown at packages/insomnia/src/ui/components/modals/import-modal/import-projects-modal.tsx:588 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/3b808a2d44d54043.
Report an issue: GitHub.