Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(team): better error when invite link is missing encryption key

Louis Beaumont942e880c18ce
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-team.ts b/apps/screenpipe-app-tauri/lib/hooks/use-team.ts
index 0add4e4a6..513b1aa37 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-team.ts
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-team.ts
@@ -329,7 +329,9 @@ export function useTeam() {
throw new Error("incorrect passphrase — could not decrypt team key");
}
} else {
- throw new Error("invite link is missing key information");
+ throw new Error(
+ "this looks like a notification-only invite link (no encryption key). ask your admin to open their desktop app → settings → team → copy invite link, and share that link directly with you (slack/imessage as plain text)."
+ );
}
await saveTeamKeyToStore(teamId, key);