paperclipai/paperclip · error · Error
Invite not found
Error message
Invite not found
What it means
Precondition guard in the InviteLanding acceptMutation: the invite record has not loaded (or the invite id is invalid), so there is nothing to accept. The mutation aborts before any accept request; the faulting input is the missing 'invite' object from the invite lookup.
Source
Thrown at ui/src/pages/InviteLanding.tsx:335
invite?.inviteType !== "bootstrap_ceo" &&
(!inviteJoinRequestStatus || canCompleteAcceptedHumanInvite) &&
!isCheckingExistingMembership &&
!isCurrentMember &&
!result &&
error === null;
const sessionLabel =
sessionQuery.data?.user.name?.trim() ||
sessionQuery.data?.user.email?.trim() ||
"this account";
const authCanSubmit =
email.trim().length > 0 &&
password.trim().length > 0 &&
(authMode === "sign_in" || (name.trim().length > 0 && password.trim().length >= 8));
const acceptMutation = useMutation({
mutationFn: async () => {
if (!invite) throw new Error("Invite not found");
if (isCheckingExistingMembership) {
throw new Error("Checking your company access. Try again in a moment.");
}
if (isCurrentMember) {
throw new Error("This account already belongs to the company.");
}
if (invite.inviteType === "bootstrap_ceo" || invite.allowedJoinTypes !== "agent") {
return accessApi.acceptInvite(token, { requestType: "human" });
}
return accessApi.acceptInvite(token, {
requestType: "agent",
agentName: agentName.trim(),
adapterType,
capabilities: capabilities.trim() || null,
});
},
onSuccess: async (payload) => {
setError(null);View on GitHub (pinned to a7e689b3c3)
Solutions
- Request a new invite link; the invite may have been revoked or expired.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at ui/src/pages/InviteLanding.tsx:334 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@a7e689b3c3 (2026-08-18).
Data as JSON: /api/errors/c76c868532695380.
Report an issue: GitHub.