Skip to content

error: EOF while parsing an object #3663

@mattyn

Description

@mattyn

Checks

Operating system

macOS 15.7.4 (24G517)

Expected behaviour

I don't expect Kiro to encounter unrecoverable errors when writing source files.

Actual behaviour

Kiro repeatedly runs in to this error when trying to write a particular source file:

Kiro is having trouble responding right now: 
   0: Failed to receive the next message: request_id: 79743423-0033-4872-bff4-a24131b0280d, error: EOF while parsing an object at line 1 column 84

Location:
   crates/chat-cli/src/cli/chat/mod.rs:1524

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

It doesn't seem to be consistent for every source file, but for the particular workflow I'm trying to run it hits it every time.

Steps to reproduce

I don't know how to reproduce this in general, but it is reliably reproduced in my project.

Environment

<This will be visible to anyone. Do not include personal or sensitive information>

[q-details]
version = "1.27.1"
hash = "30746a31eef0bc41e66dd1fbab14ecbc4edb35cc"
date = "2026-03-05T20:36:04.628222Z (23h ago)"
variant = "full"

[system-info]
os = "macOS 15.7.4 (24G517)"
chip = "Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz"
total-cores = 6
memory = "16.00 GB"

[environment]
cwd = "/Users/USER/darjeeling"
cli-path = "/Users/USER/darjeeling"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.toolbox/bin:/Users/USER/bin:/Users/USER/.pyenv/shims:/Users/USER/.local/share/mise/installs/node/lts/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Users/USER/.cargo/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "ab293c423390429e93a98948f53e955c"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.27.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions