# `ClaudeAgentSDK.Errors.CLIJSONDecodeError`
[🔗](https://github.com/nshkrdotcom/claude_agent_sdk/blob/v0.9.2/lib/claude_agent_sdk/errors.ex#L236)

Raised when the SDK fails to decode JSON output from the CLI.

This usually indicates a protocol mismatch or corrupted output stream.

## Fields

- `:message` - Human-readable error description
- `:line` - The raw line that failed to parse
- `:original_error` - The underlying JSON decode error

# `t`
[🔗](https://github.com/nshkrdotcom/claude_agent_sdk/blob/v0.9.2/lib/claude_agent_sdk/errors.ex#L251)

```elixir
@type t() :: %ClaudeAgentSDK.Errors.CLIJSONDecodeError{
  __exception__: true,
  line: String.t(),
  message: String.t(),
  original_error: term()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
