different-ai/openwork · error · UnsupportedTokenTypeError

MCP_OAUTH_UNSUPPORTED_TOKEN_TYPE

MCP_OAUTH_UNSUPPORTED_TOKEN_TYPE

Error message

Configure the authorization server to issue a token type supported by the MCP client and resource.

What it means

Error "Configure the authorization server to issue a token type supported by the MCP client and resource." thrown in different-ai/openwork.

Source

Thrown at ee/apps/den-api/src/capability-sources/external-mcp-diagnostics.ts:1318

      actionOwner: "organization_admin",
      operatorAction: "Grant the MCP resource scopes required by the provider and restart authorization.",
    }
  }
  if (name === "InvalidTokenError") {
    return {
      phase: "AUTH_RESOURCE_VALIDATION",
      category: "oauth_invalid_token",
      code: "MCP_OAUTH_INVALID_TOKEN",
      retryable: false,
      actionOwner: "member",
      operatorAction: "Reconnect the MCP account to obtain a token for the configured resource.",
    }
  }
  if (name === "UnsupportedTokenTypeError") {
    return {
      phase: fallbackPhase,
      category: "oauth_unsupported_token_type",
      code: "MCP_OAUTH_UNSUPPORTED_TOKEN_TYPE",
      retryable: false,
      actionOwner: "provider_admin",
      operatorAction: "Configure the authorization server to issue a token type supported by the MCP client and resource.",
    }
  }
  if (name === "MethodNotAllowedError") {
    return {
      phase: fallbackPhase,
      category: "oauth_method_not_allowed",
      code: "MCP_OAUTH_METHOD_NOT_ALLOWED",
      retryable: false,
      actionOwner: "provider_admin",
      operatorAction: "Verify the provider OAuth endpoint path and its supported HTTP method.",
    }
  }
  if (name === "TooManyRequestsError") {
    return {
      phase: fallbackPhase,

View on GitHub (pinned to 2b7df46e8a)

When it happens

Trigger: Thrown at ee/apps/den-api/src/capability-sources/external-mcp-diagnostics.ts:1318 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/b805bb8c10baf79e. Report an issue: GitHub.