wangrongding / wechat-bot

🤖一个基于 WeChaty 结合 OpenAi ChatGPT / Kimi / 讯飞等Ai服务实现的微信机器人 ,可以用来帮助你自动回复微信消息,或者管理微信群/好友,检测僵尸粉等...
MIT License
4.59k stars 678 forks source link

使用apikey 报错 Request failed with status code 400 #42

Closed 912988434 closed 3 months ago

912988434 commented 1 year ago

如下 🚀🚀🚀 / prompt dkada Error: Request failed with status code 400 at createError (/Users/ls/Downloads/wechat-chatgpt/wechat-bot/node_modules/openai/node_modules/axios/lib/core/createError.js:16:15) at settle (/Users/ls/Downloads/wechat-chatgpt/wechat-bot/node_modules/openai/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/Users/ls/Downloads/wechat-chatgpt/wechat-bot/node_modules/openai/node_modules/axios/lib/adapters/http.js:322:11) at IncomingMessage.emit (node:events:539:35) at endReadableNT (node:internal/streams/readable:1344:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {

udbyygyt commented 1 year ago

我也遇到了,好像长一点的提问就会报这个错

pqshao commented 1 year ago

我也遇到了啊,有人解决了吗?不会自动回复,也有这个报错

pqshao commented 1 year ago

@912988434 你后来怎么解决的?

912988434 commented 1 year ago

@pqshao 没用这个了,微信有几率封号,我当时就被封了三天