Home / Fixes

MCP error: "Error POSTing to endpoint: <!DOCTYPE html>"

Error: Streamable HTTP error: Error POSTing to endpoint: <!DOCTYPE html>

What causes it

The hosting layer returned an HTML error page instead of a JSON-RPC response, usually from a timeout or a cold start. On grep.app our first code search failed this way after about 15 s, and the retry worked in under 1 s.

How to fix it

  1. Retry once before treating the server as down.
  2. Check our Connector Weather board for a live handshake reading.

Where we hit it

Related fixes

All MCP fixes | Setup guides | Hit a different error? Request a test