different-ai/openwork · error · Error
This checkout could not be confirmed for the current organiz
Error message
This checkout could not be confirmed for the current organization. If you completed payment, access opens shortly.
What it means
Error "This checkout could not be confirmed for the current organization. If you completed payment, access opens shortly." thrown in different-ai/openwork.
Source
Thrown at ee/apps/den-web/app/(den)/dashboard/web/page.tsx:235
await runReauthableAction("openwork-web-checkout-sync", async () => {
const { response, payload } = await requestJson(
"/v1/billing/stripe/checkout/sync",
{
method: "POST",
headers: { [ORG_SCOPE_HEADER]: expectedOrgId },
body: JSON.stringify({ sessionId, type: OPENWORK_WEB_CHECKOUT_TYPE }),
},
12000,
);
if (!response.ok) throw getRequestError(payload, response, `Checkout confirmation failed (${response.status}).`);
synced = Boolean(payload && typeof payload === "object" && "synced" in payload && payload.synced === true);
});
return synced;
})();
syncedSessionsRef.current.set(syncKey, syncPromise);
}
const synced = await syncPromise;
if (!synced) throw new Error("This checkout could not be confirmed for the current organization. If you completed payment, access opens shortly.");
} catch (error) {
if (!stopped && mountedRef.current && currentOrgIdRef.current === expectedOrgId) {
setReturnChecking(false);
setErrorRecord({
orgId: expectedOrgId,
message: error instanceof Error ? error.message : "Could not confirm this checkout. OpenWork Web remains locked.",
});
clearStripeReturnParameters();
}
return;
}
async function pollEligibility() {
attempts += 1;
const nextBilling = await requestWebBilling(expectedOrgId, true);
if (stopped || !mountedRef.current || currentOrgIdRef.current !== expectedOrgId) return;
if (nextBilling?.hasAccess) {
setReturnChecking(false);View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at ee/apps/den-web/app/(den)/dashboard/web/page.tsx:235 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/356d80161052381e.
Report an issue: GitHub.