different-ai/openwork · error · Error

Seat billing checkout failed (${response.status}).

Error message

Seat billing checkout failed (${response.status}).

What it means

Error "Seat billing checkout failed (${response.status})." thrown in different-ai/openwork.

Source

Thrown at ee/apps/den-web/app/(den)/dashboard/_providers/org-dashboard-provider.tsx:638

      throw new Error("Only workspace admins can start seat checkout.");
    }

    setMutationBusy("seat-checkout");
    setOrgError(null);
    try {
      await runReauthableAction("seat-checkout", async () => {
        ensureActiveOrganizationSelected();
        const { response, payload } = await requestJson(
          "/v1/billing/stripe/checkout",
          {
            method: "POST",
            body: JSON.stringify({ type: "seat" }),
          },
          12000,
        );

        if (!response.ok) {
          throw getRequestError(payload, response, `Seat billing checkout failed (${response.status}).`);
        }

        const url = payload && typeof payload === "object" && "url" in payload && typeof payload.url === "string"
          ? payload.url
          : null;
        if (!url) {
          throw new Error("Seat billing checkout response did not include a URL.");
        }

        window.location.href = url;
      });
    } finally {
      setMutationBusy(null);
    }
  }

  async function cancelInvitation(invitationId: string) {
    if (!getCurrentAccess().canCancelInvitations) {

View on GitHub (pinned to 2b7df46e8a)

When it happens

Trigger: Thrown at ee/apps/den-web/app/(den)/dashboard/_providers/org-dashboard-provider.tsx:638 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of different-ai/openwork@2b7df46e8a (2026-09-01). Data as JSON: /api/errors/9e898690da6263a9. Report an issue: GitHub.