【bug] API Error: 400 {"error":{"type":"invalid_request_error","message":"Invalid request Error"},"type":"error"}
What version of Kimi Code CLI is running?
Version: 2.1.23
Which open platform/subscription were you using?
win11 , powershell
Which model were you using?
Model: Default (claude-sonnet-4-5-20250929)
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What issue are you seeing?
What steps can reproduce the bug?
仔细阅读 "E:\问kimi-4个文件\Task.md",结合文件内容,深度思考,规划实施方案,然后和我确认。
● Read 1 file (ctrl+o to expand)
● 我已经阅读了任务文件。这是一个深度个人健康数据分析项目,需要综合四个维度的数据进行跨学科分析。让我先探索数据文件的目录结构,了解具体的文件格式和 容。
● Searched for 2 patterns, read 1 file (ctrl+o to expand)
● 找到了数据文件。让我读取这些文件以了解数据格式。
● Read 4 files (ctrl+o to expand) ⎿ API Error: 400 {"error":{"type":"invalid_request_error","message":"Invalid request Error"},"type":"error"}
✻ Churned for 1m 10s
❯ continue ⎿ API Error: 400 {"error":{"type":"invalid_request_error","message":"Invalid request Error"},"type":"error"}
2026.1.27 13点之前重试了两次同样的情况,17点第三次尝试暂时没有发现问题。
What is the expected behavior?
No response
Additional information
No response
问题依旧! 这问题导致使用claude code时根本无法使用!
The problem remains! This problem makes it impossible to use claude code at all!
问题依旧! 这问题导致使用claude code时根本无法使用!
The problem remains! This problem makes it impossible to use claude code at all!
我做的尝试:
1.换API key(问题依然存在) 2.换CLI:使用opencode。问题就解决了。
只要一加载skills或者复杂的内容就会出现
真的很垃圾,接入 cc switch 也一直报这个错误。我还以为是我哪里没搞好,浪费我半天配置和查资料的时间。之前测试GLM完全没遇到过类似的问题。 半成品拿出来收费,moonshot真有你的。
It's really rubbish. I keep getting this error when I connect to cc switch. I thought I had done something wrong and wasted half a day configuring and checking information. I have never encountered similar problems when testing GLM before. If you take out the semi-finished product and charge for it, Moonshot really has it for you.
Same error with Claude Code too, I use https://github.com/jolehuit/clother or https://github.com/foreveryh/claude-code-switch
Same error happens when facing complex prompt in claude code.
Same error happens when facing complex prompt in claude code.
![]()
No, for me just at launch with claude code I have this error with the 1st prompt
我在claude code的时候也会出现同样的问题,只要我试图使用mcp
I have the same problem in claude code, whenever I try to use mcp
For 3 weeks everything has worked fine. Today this issue started for me too.
API Error: 400 {"error":{"type":"invalid_request_error","message":"Invalid request Error"},"type":"error"}
Neither Claude Code or OpenCode works with Kimi Code anymore.
是的,同样的问题在使用Vscode中的Claude code,我是用CC switch一键配置的Kimi,使用它阅读Pdf的时候出现的报错
Yes, I have the same problem when using Claude code in Vscode. I used CC switch to configure Kimi with one click. When using it to read Pdf, an error occurred.
不是哥们,我发了个md文件让它基于图片审核都报错啊,你无敌了kimi。我都用poppler把PDF文件转化为图片了你还读不了markdown文件?
No, buddy, I sent an md file and it reported an error based on the image review. You are invincible kimi. I've used poppler to convert PDF files into images, but you still can't read markdown files?
更神的来了,读取md文件都不行了
What’s even more amazing is that I can’t even read the md file.
+1 今天使用 kimi-k2.6-code-preview 时碰到了此类问题,均在更新 cc-switch 后出现
+1 I encountered this kind of problem today when using kimi-k2.6-code-preview. It all appeared after updating cc-switch
+1 今天使用 kimi-k2.6-code-preview 时碰到了此类问题,均在更新 cc-switch 后出现
排查发现是 ToolSearch 还没兼容。使用此类提示词可以稳定复现:
见文档:https://www.kimi.com/code/docs/more/third-party-agents.html#claude-code
我的也一样
但是我换一个对话框就可以了,有时候出毛病有时候可以,然后用deepseek完全不会出现这个问题
But I can just change the dialog box. Sometimes it goes wrong and sometimes it works. Then using deepseek, this problem will not occur at all
关闭cc中的工具搜索就能用了
Turn off the tool search in cc and it will work
今天试了下打开 ToolSearch 也能正常调用了
~排查发现是 ToolSearch 还没兼容。使用此类提示词可以稳定复现:~
I tried opening ToolSearch today and it can be called normally.
~Troubleshooting found that ToolSearch is not compatible yet. Use such prompt words to achieve stable reproduction: ~