different-ai/openwork · error · Error
Checkout confirmation failed (${response.status}).
Error message
Checkout confirmation failed (${response.status}). What it means
Error "Checkout confirmation failed (${response.status})." thrown in different-ai/openwork.
Source
Thrown at ee/apps/den-web/app/(den)/dashboard/web/page.tsx:227
setErrorRecord(null);
async function confirmSubscription() {
try {
let syncPromise = syncedSessionsRef.current.get(syncKey);
if (!syncPromise) {
syncPromise = (async () => {
let synced: boolean = false;
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;View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at ee/apps/den-web/app/(den)/dashboard/web/page.tsx:227 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/f98a631eedc60b39.
Report an issue: GitHub.