Error 411

length_required

Length required

What to do

Send the body with a Content-Length header, not chunked.

The answer's detail says more about this one: which field, which limit, how long to wait.

How it comes back

From the REST API, as application/problem+json with status 411:

{
  "type": "https://www.seedmywallet.com/errors/length_required",
  "title": "Length required",
  "status": 411,
  "code": "length_required",
  "detail": "…",
  "requestId": "req_…"
}

From the MCP server, as a tool error whose text starts Refused (length_required: Length required), with the same fields as its structured content. Branch on code, never on the words.

Every error code