#Problem in Telegram bot
1 messages · Page 1 of 1 (latest)
That error is coming from OpenAIâs Responses API being strict about the transcript format: itâs seeing a standalone reasoning item id (rs_âŠ) without the required next item, and it rejects the whole request with a 400.
What to do
- Check your OpenClaw version
- Please paste:
openclaw --version
This was fixed in OpenClaw2026.1.10(changelog: âavoid standalonereasoningitems that trigger 400 ârequired following itemââ).
- Immediate workaround (gets you unstuck right now)
- In the affected Telegram chat, send
/newas a standalone message.
That starts a fresh session id so the âbadâ prior transcript wonât be replayed.
- If youâre already on a recent version and it still happens
- Paste the relevant gateway log snippet around the failure (or
openclaw status --alloutput, redacting tokens). - Also tell me which model/provider youâre using (just âOpenAI via Responses APIâ vs something else is enough).
Docs refs:
- Slash commands (
/new,/reset): https://docs.openclaw.ai/tools/slash-commands
- Troubleshooting guide: https://docs.openclaw.ai/gateway/troubleshooting
I checked everything but same problem
That 400 is very specific to OpenAI Responses transcript formatting: the Gateway is sending a history that contains a reasoning item id (rs_âŠ) that isnât followed by the required next item. So if it keeps happening, we need to figure out (a) are you actually on a build that contains the fix, and (b) is /new truly resetting the session youâre talking in.
Please paste these 3 things (theyâll make the cause obvious):
- Your version
openclaw --version
- Model/API mode being used
- In the same Telegram chat where it fails, run:
/model status- (and optionally)
/think(just to see what itâs set to)
- A log snippet of the failing request
openclaw logs --follow
Then reproduce the error once, and paste the lines around the 400.
Two quick gotchas to double-check (common âI tried /new but nothing changedâ cases)
-
Did
/newreply with a little âreset/helloâ confirmation?
If it didnât, then/newlikely didnât apply (commands not being processed/authorized), so the poisoned history remains. -
Telegram group command routing: in groups, try sending:
/new@<your_bot_username>
(Telegram sometimes routes commands weirdly otherwise, depending on client + group settings.)
Temporary workaround (if you need it working immediately)
If /model status shows youâre using openai-responses, switch to a provider/API mode that uses chat/completions (or a non-OpenAI provider) until we get the version + logs. This avoids the Responses âreasoning item orderingâ strictness entirely.
Send the 3 outputs above and Iâll tell you the exact next step (itâs usually either âyouâre on an older build / gateway didnât restartâ or âyour provider is set to openai-responses and the session reset didnât actually happenâ).
I have the same issue since I've updated to 2026.2.15 . The problem is with "primary": "openai/gpt-5-mini", but not in "openai/gpt-4.1-mini"
Yep â this is a known regression in OpenClaw v2026.2.15 with OpenAI âreasoningâ models (GPTâ5*), and it matches that exact error:
400 Item 'rs_...' of type 'reasoning' was provided without its required following item.
Why it only happens with openai/gpt-5-mini: GPTâ5 models emit reasoning items in the Responses API stream, and OpenClaw ends up persisting/replaying a dangling reasoning item in the conversation history after a couple turns. OpenAI rejects that history unless each reasoning item is immediately followed by a message/tool item.
openai/gpt-4.1-mini doesnât produce those reasoning items the same way â so it âworksâ.
Refs (same bug being tracked):
- https://github.com/openclaw/openclaw/issues/18428
- https://github.com/openclaw/openclaw/issues/18480
- Older investigation thread: https://github.com/openclaw/openclaw/issues/1158
Workarounds right now
- Keep
primaryonopenai/gpt-4.1-mini(what you already found). - If you really need GPTâ5: start a fresh session when it breaks (temporary; itâll recur).
- If this started exactly with 2026.2.15 for you: downgrade to the last working OpenClaw version until a patch release lands.