You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Responses API item-not-found loop when continuing session #8746
When using the TUI, a session started returning the error:
Item with id "rs_0e72389746f679bd01696959a2a9e48191a92a10f669c60875" not found. Items are not persisted when store is set to false.
After the first occurrence, every subsequent message in the session repeats the same error and the session is stuck.
Steps to Reproduce
Run opencode v1.1.21.
Start a session and send prompts that include tool calls.
After some time, send another message or type "continue".
Expected
The client should not reference response item IDs when store is false, or it should set store: true whenever it relies on item IDs. Ideally expose a config flag to control this.
Actual
The session loops on the error above for every message.
@rekram1-node Item with id 'rs_01cc8622c815e389016969726a26408199b18b5313a5a07bf3' not found. Items are not persisted when store is set to false. Try again with store set to true, or remove this item from your input
Activity
github-actions commentedon Jan 15, 2026
This issue might be a duplicate of existing issues. Please check:
storeset to true, GPT 5.2 open ai subcription #8288: Try again withstoreset to true, GPT 5.2 open ai subscription - Identical error with recurring issuestool_useerror #8377: Most sessions eventually gets atool_useerror - Related tool call/sequencing issueFeel free to ignore if none of these address your specific case.
rekram1-node commentedon Jan 15, 2026
This is fixed in 1.1.22 (release going out rn)
KeroRisin commentedon Jan 15, 2026
@rekram1-node Item with id 'rs_01cc8622c815e389016969726a26408199b18b5313a5a07bf3' not found. Items are not persisted when
storeis set to false. Try again withstoreset to true, or remove this item from your inputstill happening
KeroRisin commentedon Jan 15, 2026
im on version 1.1.23
rekram1-node commentedon Jan 15, 2026
@KeroRisin can u share your session?
opencode export > session.jsonKeroRisin commentedon Jan 16, 2026
@rekram1-node after i fully uninstalled opencode and reinstalled it, the past 2 hours its working good now, not sure why, but it works fine now
rekram1-node commentedon Jan 16, 2026
I found 1 case where it could have been erroring, should rreally be fixed in next release for sure:
d475107
If not then there is something going on at a lower level that I need to read into more