Kong/insomnia · error · Error
Failed to unlink team from organization
Error message
Failed to unlink team from organization
What it means
Error "Failed to unlink team from organization" thrown in Kong/insomnia.
Source
Thrown at packages/insomnia/src/ui/components/modals/invite-modal/invite-modal.tsx:717
export async function getCurrentUserRoleInOrg(organizationId: string): Promise<Role> {
return getOrganizationMemberRoles({
organizationId,
sessionId: await getCurrentSessionId(),
userId: await getAccountId(),
}).catch(() => {
throw new Error('Failed to fetch member roles');
});
}
async function unlinkTeam(organizationId: string, collaboratorId: string) {
try {
return await unlinkCollaborator({
organizationId,
collaboratorId,
sessionId: await getCurrentSessionId(),
});
} catch (error) {
throw new Error(error ?? 'Failed to unlink team from organization');
}
}
async function revokeOrganizationInvite(organizationId: string, invitationId: string) {
try {
return revokeInvitation({
organizationId,
invitationId,
sessionId: await getCurrentSessionId(),
});
} catch (error) {
throw new Error(error instanceof Error ? error.message : 'Failed to revoke invitation from organization');
}
}
View on GitHub (pinned to d9bb2b0142)
When it happens
Trigger: Thrown at packages/insomnia/src/ui/components/modals/invite-modal/invite-modal.tsx:717 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/9f58aeaf15014125.
Report an issue: GitHub.