<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/BlockSourceError/invalidResponse(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel16BlockSourceErrorO15invalidResponseyACSScACmF"
  },
  "title" : "BlockSourceError.invalidResponse(_:)"
}
-->

# BlockSourceError.invalidResponse(_:)

The source returned a response the client could not parse.

```
case invalidResponse(String)
```

## Discussion

The associated value describes what was malformed — e.g.
`"expected numeric height, got 'not-a-number'"` or
`"HTTP 500 after 5 attempt(s)"`. Treat the message as human-readable
diagnostic, not machine-parseable.