leochen-g / wechat-assistant-pro

智能微秘书,一个全能的微信机器人管理平台,最简单的方式接入 ChatGPT,FastGPT,Dify,Coze知识库,支持绘图,联网查询,语音识别,各种定时任务,支持企微、公众号、5G 消息、WhatsApp
https://wechat.aibotk.com
MIT License
1.75k stars 282 forks source link

apiKey和apiSecret错误 #35

Closed kennyhou001 closed 8 months ago

kennyhou001 commented 1 year ago

使用环境变量中的 aibotkKey
使用环境变量中的 aibotkSecret
默认使用uos web协议启动
贴心助理Contact<小秘书>登录了
更新插件版本号 1.2.12
接口请求失败https://api-bot.aibotk.com/open/v1/api/webPanel/version 请检查apiKey和apiSecret是否填写错误或未正确传递
接口https://api-bot.aibotk.com/open/v1/api/wechat/qrcode请求失败 请检查apiKey和apiSecret是否填写错误或未正确传递
推送二维码成功
接口https://api-bot.aibotk.com/open/v1/api/wechat/qrerror请求失败 请检查apiKey和apiSecret是否填写错误或未正确传递
推送错误成功
接口https://api-bot.aibotk.com/open/v1/api/wechat/config请求失败 请检查apiKey和apiSecret是否填写错误或未正确传递
获取配置文件失败:TypeError: Cannot read properties of undefined (reading 'config')
登录后初始化失败 TypeError: Cannot read properties of undefined (reading 'userInfo')
at WechatyImpl.onLogin (file:///bot/node_modules/wechaty-web-panel/dist/esm/src/handlers/on-login.js:18:35)
at runNextTicks (node:internal/process/task_queues:61:5)
at processImmediate (node:internal/timers:437:9)
所有数据准备完毕
e TypeError: Cannot read properties of undefined (reading 'weixin')
at Object.updateContactInfo (file:///bot/node_modules/wechaty-web-panel/dist/esm/src/common/index.js:39:41)
接口https://api-bot.aibotk.com/open/v1/api/task请求失败 请检查apiKey和apiSecret是否填写错误或未正确传递
获取定时任务成功:undefined
initTaskLocalSchedule error TypeError: Cannot destructure property 'dayTaskSchedule' of 'config' as it is undefined.
at initTaskLocalSchedule (file:///bot/node_modules/wechaty-web-panel/dist/esm/src/task/index.js:201:17)
at runNextTicks (node:internal/process/task_queues:61:5)
at processImmediate (node:internal/timers:437:9)
at async initAllSchedule (file:///bot/node_modules/wechaty-web-panel/dist/esm/src/task/index.js:231:5)
e TypeError: Cannot read properties of undefined (reading 'weixin')
at Object.updateRoomInfo (file:///bot/node_modules/wechaty-web-panel/dist/esm/src/common/index.js:93:41)
接口https://api-bot.aibotk.com/open/v1/api/wechat/heart请求失败 请检查apiKey和apiSecret是否填写错误或未正确传递
推送心跳成功

leochen-g commented 1 year ago

报错已经说了,需要填写apiKey和apiSecret