different-ai/openwork · error
Failed to review the OAuth issuer (${response.status}).
Error message
Failed to review the OAuth issuer (${response.status}). What it means
Error "Failed to review the OAuth issuer (${response.status})." thrown in different-ai/openwork.
Source
Thrown at ee/apps/den-web/app/(den)/dashboard/_components/mcp-connections-data.tsx:829
connectionId: string;
action: "preview" | "confirm";
expectedUpdatedAt?: string;
authorizationServerIssuer?: string;
}): Promise<McpIssuerReview> => {
let review: McpIssuerReview | null = null;
const request = async () => {
const { connectionId, ...body } = input;
const { response, payload } = await requestJson(
`/v1/mcp-connections/${encodeURIComponent(connectionId)}/oauth/issuer-review`,
{
method: "POST",
headers: getOrgScopeHeaders(requireOrgId(orgId)),
body: JSON.stringify(body),
},
30000,
);
if (!response.ok) {
throw getRequestError(payload, response, `Failed to review the OAuth issuer (${response.status}).`);
}
review = payload as McpIssuerReview;
};
if (input.action === "confirm") {
await runReauthableAction("review-mcp-oauth-issuer", request);
} else {
await request();
}
if (!review) throw new Error("OAuth issuer review response was incomplete.");
return review;
},
onSuccess: (_review, input) => {
if (input.action === "confirm") {
queryClient.invalidateQueries({ queryKey: mcpConnectionQueryKeys.all });
}
},
});
}View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at ee/apps/den-web/app/(den)/dashboard/_components/mcp-connections-data.tsx:829 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/83e41c220a0fb62b.
Report an issue: GitHub.