claude-code - 💡(How to fix) Fix [BUG] claude.ai MT Newswires MCP connector — fetch returns HTTPStatusError.__init__() crash on all data requests

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

All calls to mcp__claude_ai_MT_Newswires__fetch fail with the error: {"error": "Error getting dataset: HTTPStatusError.init() missing 2 required positional arguments: 'request' and 'response'", "status": "error"} The same MT Newswires connector works in claude.ai web chat. The subscription is active and the connector has been disconnected and reconnected. The error is reproducible 100% of the time.

Error Messages/Logs

{"error": "Error getting dataset: HTTPStatusError.init() missing 2 required keyword-only arguments: 'request' and 'response'", "status": "error"}

  • The error is a Python httpx library bug: newer versions of httpx require request and response as keyword args when raising HTTPStatusError, but the connector code calls it without them

Code Example

{"error": "Error getting dataset: HTTPStatusError.__init__() missing 2 required keyword-only arguments: 'request' and 'response'", "status": "error"}
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

All calls to mcp__claude_ai_MT_Newswires__fetch fail with the error:

{"error": "Error getting dataset: HTTPStatusError.init() missing 2 required positional arguments: 'request' and 'response'", "status": "error"}

This happens regardless of dataset (mt_newswires_north_america or mt_newswires_global), symbol, date range, or whether parameters are included at all. The current_date and search tools work correctly — only fetch fails.

The same MT Newswires connector works in claude.ai web chat. The subscription is active and the connector has been disconnected and reconnected. The error is reproducible 100% of the time.

What Should Happen?

mcp__claude_ai_MT_Newswires__fetch should return news articles from the MT Newswires dataset. The connector works in claude.ai web chat, so the issue is specific to the Claude Code connector version.

Error Messages/Logs

{"error": "Error getting dataset: HTTPStatusError.__init__() missing 2 required keyword-only arguments: 'request' and 'response'", "status": "error"}

Steps to Reproduce

  1. Connect the claude.ai MT Newswires MCP connector (via claude.ai Integrations settings)
  2. Open Claude Code — connector appears active (mcp__claude_ai_MT_Newswires__current_date and search work)
  3. Call fetch with any parameters, e.g.: mcp__claude_ai_MT_Newswires__fetch(endpoint="data", product="edge", dataset_name="mt_newswires_north_america", symbols="NVDA", last=3)
  4. Every fetch call returns the HTTPStatusError crash regardless of parameters

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.143 (Claude Code)

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

  • mcp__claude_ai_MT_Newswires__current_date returns correct date — connector auth is working
  • mcp__claude_ai_MT_Newswires__search returns dataset metadata correctly
  • Only fetch (actual data retrieval) fails
  • The error is a Python httpx library bug: newer versions of httpx require request and response as keyword args when raising HTTPStatusError, but the connector code calls it without them
  • Same connector/subscription works fine in claude.ai web chat — this is specific to the Claude Code connector version
  • Reproducible 100% of the time across all datasets, symbols, and date parameters

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] claude.ai MT Newswires MCP connector — fetch returns HTTPStatusError.__init__() crash on all data requests