paperclipai/paperclip · error · Error

Checking your company access. Try again in a moment.

Error message

Checking your company access. Try again in a moment.

What it means

Race guard in the InviteLanding acceptMutation: the membership pre-check query is still in flight, so accepting now could create a duplicate membership or mis-route the request. The user is told to wait a moment; the guard fires when isCheckingExistingMembership is true.

Source

Thrown at ui/src/pages/InviteLanding.tsx:337

    !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);
      clearPendingInviteToken(token);
      const asBootstrap = isBootstrapAcceptancePayload(payload);

View on GitHub (pinned to a7e689b3c3)

Solutions

  1. Wait a moment for company access to propagate, then retry accepting the invite.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at ui/src/pages/InviteLanding.tsx:336 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/2ff55b4effd78a38. Report an issue: GitHub.