{"version":"2.1.221","anchor":"mcp-error-classification-recognises-typed-http-and-oauth-err","canonical_anchor":"mcp-error-classification-recognises-typed-http-and-oauth-err","heading":"MCP error classification recognises typed HTTP and OAuth errors","tier":"notice","area":"MCP","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/mcp-error-classification-recognises-typed-http-and-oauth-err","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### MCP error classification recognises typed HTTP and OAuth errors\n\nMCP auth and HTTP failures are classified more accurately, and cancelled tool calls no longer trigger slow-call warnings.\n\n**What**\n\nTool-call failure handling now reads status and OAuth codes off typed error classes instead of guessing from a loose `code` property, and stops warning about slow calls that were simply aborted.\n\n**Details**\n\n- status is derived from typed HTTP error classes; the old path only used `code`, and only when it was a number\n- OAuth error codes come from a typed error object\n- the \"Tool 'X' failed after Ns\" warning is suppressed when the call was aborted\n- a full list of MCP and OAuth codes is enumerated for classification, including invalid_grant, AUTH_HEADER_REJECTED, CLIENT_HTTP_FORBIDDEN and ERA_NEGOTIATION_FAILED\n\n**Evidence**\n\n`CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION`\n\n- Area: MCP\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 0\/5"}