atorber / chatflow

一个使用wechaty构建的机器人业务管理平台
https://www.yuque.com/atorber/chatflow
Apache License 2.0
383 stars 75 forks source link

3.0版本,飞书多维初始化失败,求解 #63

Open duzidada opened 9 months ago

duzidada commented 9 months ago
                                                                                        |

| 初始化检查系统表失败...{"code":400,"message":"初始化失败! ","data":{"message":"Request | | failed with status code 400","name":"AxiosError","stack":"AxiosError: Request failed with | | status code 400\n at settle (C:\Users\Administrator\Documents\chatflow-admin\node | | _modules\@larksuiteoapi\node-sdk\node_modules\axios\lib\core\settle.js:17:12)\n | | at IncomingMessage.handleStreamEnd | | (C:\Users\Administrator\Documents\chatflow-admin\node_modules\@larksuiteoapi\node- | | sdk\node_modules\axios\lib\adapters\http.js:382:11)\n at IncomingMessage.emit | | (node:events:526:35)\n at IncomingMessage.emit (node:domain:489:12)\n at | | endReadableNT (node:internal/streams/readable:1359:12)\n at processTicksAndRejections | | (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing": | | true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"tra | | nsformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF | | -TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"applicatio | | n/json, text/plain, /","Authorization":"Bearer t-g10437fE5FCOWWR3D25N6MWWLLIJRBTBJU4FVU | | 4M","User-Agent":"oapi-node-sdk/1.0.0","Content-Type":"application/json","Content-Length" | | :2},"url":"https://open.feishu.cn/open-apis/bitable/v1/apps/UexowE95zizyv7kkRH7cebxXn8j/t | | ables","method":"get","data":"{}","params":{}},"code":"ERR_BAD_REQUEST","status":400}}

atorber commented 9 months ago

检查飞书多维表格的配置信息,确认appId/appSecret/appToken三个参数是否正确

维格表配置

VIKA_SPACE_ID="替换为你的维格表空间ID" # 维格表空间ID或飞书多维表格的appToken VIKA_TOKEN="替换为你的维格表token" # 维格表token或飞书多维表格信息拼接(使用'/'拼接三个参数:appId/appSecret/appToken)