Replies: 1 comment
-
|
The 424 error means OpenAI's servers are trying to reach your MCP server from their network and failing — not from your machine. When you pass an MCP server URL to Requirements for a self-hosted MCP server to work:
Quick check: curl -N -H "Accept: text/event-stream" https://your-domain.com/mcpIf this works from an external machine (not your server), OpenAI should be able to reach it too. Debugging: The error message includes your server label ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm encountering an issue when trying to use a custom MCP server created with fastMCP for tool calls via client.responses.create().
When I execute the code, I get the following error.
openai.APIStatusError: Error code: 424 - {'error': {'message': "Error retrieving tool list from MCP server: 'xxxxxxx'. Http status code: 424 (Failed Dependency)", 'type': 'external_connector_error', 'param': 'tools', 'code': 'http_error'}}Could you please help me understand the root cause of this 424 Failed Dependency error when using a custom MCP server, and how to resolve it?
(Is the issue perhaps related to this library sending requests to https://api.openai.com/v1/responses?)
Beta Was this translation helpful? Give feedback.
All reactions