Improperly formed request #4756

Closed
opened 2026-02-16 17:45:18 -05:00 by yindo · 4 comments
Owner

Originally created by @icysaintdx on GitHub (Jan 11, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

After the opencode is interrupted, when I input "continue", this problem keeps occurring, then an error is reported. When I retry, the error appears again. It's an infinite loop.

Plugins

No response

OpenCode version

No response

Steps to reproduce

After the opencode is interrupted, when I input "continue", this problem keeps occurring, then an error is reported. When I retry, the error appears again. It's an infinite loop.

Screenshot and/or share link

Image

Operating System

windows11

Terminal

No response

Originally created by @icysaintdx on GitHub (Jan 11, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description After the opencode is interrupted, when I input "continue", this problem keeps occurring, then an error is reported. When I retry, the error appears again. It's an infinite loop. ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce After the opencode is interrupted, when I input "continue", this problem keeps occurring, then an error is reported. When I retry, the error appears again. It's an infinite loop. ### Screenshot and/or share link <img width="845" height="919" alt="Image" src="https://github.com/user-attachments/assets/5814326b-df3f-4f3a-b28d-f4b8882175f9" /> ### Operating System windows11 ### Terminal _No response_
yindo added the windowsbug labels 2026-02-16 17:45:18 -05:00
yindo closed this issue 2026-02-16 17:45:18 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7187: Agent stuck in infinite "SYSTEM REMINDER - TODO CONTINUATION" loop when finishing tasks

This issue appears related as both involve infinite loops triggered after interruption/errors. The #7187 issue describes getting stuck repeatedly trying to process tasks when they're nearly complete or when task registration fails, which could be connected to your "Improperly formed request" error that keeps occurring on retry.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 11, 2026): This issue might be a duplicate of existing issues. Please check: - #7187: Agent stuck in infinite "SYSTEM REMINDER - TODO CONTINUATION" loop when finishing tasks This issue appears related as both involve infinite loops triggered after interruption/errors. The #7187 issue describes getting stuck repeatedly trying to process tasks when they're nearly complete or when task registration fails, which could be connected to your "Improperly formed request" error that keeps occurring on retry. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Jan 11, 2026):

@icysaintdx you aren't using any plugins? I think this is due to your plugin...

@rekram1-node commented on GitHub (Jan 11, 2026): @icysaintdx you aren't using any plugins? I think this is due to your plugin...
Author
Owner

@icysaintdx commented on GitHub (Jan 12, 2026):

@icysaintdx你没有使用任何插件吗?我觉得这可能是你的插件导致的……

"$schema": "https://opencode.ai/config.json",
"theme": "tokyonight",
"permission": {
"lsp": "allow",
"webfetch": "allow",
"skill": "allow",
"question": "allow",
"todoread": "allow",
"todowrite": "allow",
"edit": "allow",
"list": "allow",
"glob": "allow",
"grep": "allow",
"read": "allow",
"bash": "allow",
"mymcp_*": "ask"
},
"compaction": {
"auto": true,
"prune": false
},
"mcp": {
"context7": {
"type": "local",
"command": [
"pnpx",
"@upstash/context7-mcp"
],
"enabled": true
}
},
"plugin": [
"oh-my-opencode",
"opencode-antigravity-auth@1.2.8",
"opencode-openai-codex-auth@4.3.0"
],
"provider": {

@icysaintdx commented on GitHub (Jan 12, 2026): > [@icysaintdx](https://github.com/icysaintdx)你没有使用任何插件吗?我觉得这可能是你的插件导致的…… "$schema": "https://opencode.ai/config.json", "theme": "tokyonight", "permission": { "lsp": "allow", "webfetch": "allow", "skill": "allow", "question": "allow", "todoread": "allow", "todowrite": "allow", "edit": "allow", "list": "allow", "glob": "allow", "grep": "allow", "read": "allow", "bash": "allow", "mymcp_*": "ask" }, "compaction": { "auto": true, "prune": false }, "mcp": { "context7": { "type": "local", "command": [ "pnpx", "@upstash/context7-mcp" ], "enabled": true } }, "plugin": [ "oh-my-opencode", "opencode-antigravity-auth@1.2.8", "opencode-openai-codex-auth@4.3.0" ], "provider": {
Author
Owner

@DevSissi commented on GitHub (Jan 13, 2026):

I have this problem too.Always happened after opencode did the compaction

@DevSissi commented on GitHub (Jan 13, 2026): I have this problem too.Always happened after opencode did the compaction
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4756