different-ai/openwork · error
MCP_OAUTH_CLIENT_REJECTED
MCP_OAUTH_CLIENT_REJECTED
Error message
MCP_OAUTH_CLIENT_REJECTED
What it means
Error "MCP_OAUTH_CLIENT_REJECTED" thrown in different-ai/openwork.
Source
Thrown at ee/apps/den-api/src/capability-sources/external-mcp-diagnostics.ts:1258
}
if (numericCode === -32602 && fallbackPhase === "MCP_TOOL_EXECUTION") {
return {
phase: "MCP_TOOL_EXECUTION",
category: "mcp_tool_input_invalid",
code: "MCP_INVALID_PARAMS",
retryable: false,
actionOwner: "openwork",
operatorAction: "Correct the tool arguments using the latest advertised input schema; do not retry the same arguments unchanged.",
}
}
if (numericCode !== undefined) return providerDeclaredErrorClassification()
const name = errorName(error)
if (name === "InvalidClientError" || name === "UnauthorizedClientError" || name === "InvalidClientMetadataError") {
return {
phase: "AUTH_CLIENT_REGISTRATION",
category: "oauth_client_registration",
code: "MCP_OAUTH_CLIENT_REJECTED",
retryable: false,
actionOwner: "organization_admin",
operatorAction: "Verify the client registration, redirect URI, client type, and token endpoint authentication method.",
}
}
if (name === "InvalidGrantError") {
return {
phase: fallbackPhase === "CONTINUITY_REFRESH" ? fallbackPhase : "AUTH_TOKEN_ACQUISITION",
category: "oauth_token_failure",
code: "MCP_OAUTH_INVALID_GRANT",
retryable: false,
actionOwner: "member",
operatorAction: "Restart authorization; if it repeats, verify redirect URI and PKCE state.",
}
}
if (name === "InvalidScopeError") {
return {
phase: "AUTH_USER_OR_WORKLOAD",View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at ee/apps/den-api/src/capability-sources/external-mcp-diagnostics.ts:1258 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/c00abd228f2e94b4.
Report an issue: GitHub.