使用 claude code 请求 api 总是API Error: 400 {"error":{"type":"invalid_request_error","message":"Invalid request Error"},"type":"error"} || Use claude code to request api, always API Error: 400 {"error":{"type":"invalid_request_error","message":"Invalid request Error"},"type":"error"} #844
Replies: 12 comments 2 replies
-
|
额度也有 没有用完 现在是 0.99 的体验包 体验极差 总是400 吐血了 There is also a quota, but it has not been used up. Now it is a 0.99 experience package. The experience is extremely poor. It is always 400. I vomited blood |
Beta Was this translation helpful? Give feedback.
-
|
是不是history里面有图片,视频之类的,报错的截图能发一下么 Are there pictures, videos, etc. in the history? Can you send a screenshot of the error report? |
Beta Was this translation helpful? Give feedback.
-
|
这问题特别容易复现,体验太差了! This problem is very easy to reproduce and the experience is terrible! |
Beta Was this translation helpful? Give feedback.
-
|
有解决办法吗? Is there any solution? |
Beta Was this translation helpful? Give feedback.
-
|
发现只要一加载skill,就会出现这个错误 I found that as soon as I load the skill, this error will appear |
Beta Was this translation helpful? Give feedback.
-
|
我今天也遇到同样问题,当我在claude code使用/init就会出现400报错,然后就无法继续使用,只能重新打开新的窗口 I also encountered the same problem today. When I use /init in claude code, a 400 error will appear, and then I cannot continue to use it and can only reopen a new window. |
Beta Was this translation helpful? Give feedback.
-
|
目前在vscode claude code经常遇到这个问题,只要读文件就会出现400,但是cli没问题 Currently, I often encounter this problem in vscode claude code. As long as I read the file, 400 will appear, but the cli is fine |
Beta Was this translation helpful? Give feedback.
-
|
就是适配没做好,自己的cli也很不给力 It’s just that the adaptation is not done well, and my cli is also very weak |
Beta Was this translation helpful? Give feedback.
-
|
吐了,买个99的套餐只能聊天,一引用代码就报错 |
Beta Was this translation helpful? Give feedback.
-
|
啥时候能够修修呀 When can I repair it? |
Beta Was this translation helpful? Give feedback.
-
我也是,用着用着就这样
|
Beta Was this translation helpful? Give feedback.
-
|
same same |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
如果说环境变量配置问题 但是有时候是可以使用的

400总是出现 请求几次就有 400 了
If there is a problem with environment variable configuration, it can sometimes be used

400 always appears. After several requests, it gets 400.
Beta Was this translation helpful? Give feedback.
All reactions