danni-cool / wechatbot-webhook

轻量、可部署的微信机器人webhook服务,使用http接口收发微信消息, 用它作为个人通知、AIGC 应用或者 coze、n8n等自动化工作流的消息节点
MIT License
1.58k stars 274 forks source link

报错Unexpected end of JSON input #265

Open RichardMiku opened 1 week ago

RichardMiku commented 1 week ago

⚠️不按照以下格式创建的issue将不会获得回复⚠️

提bug前先检查以下是否已经执行

bug描述

[2024-11-15T05:43:19.764] [INFO] - starting fetching api: http://sdtbubot:8080/MessageReceive [2024-11-15T05:43:19.768] [ERROR] - uncaughtException SyntaxError: Unexpected end of JSON input at JSON.parse () at Response.json (/app/node_modules/.pnpm/node-fetch-commonjs@3.3.2/node_modules/node-fetch-commonjs/index.js:707:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async handleResSendMsg (/app/src/service/msgSender.js:612:20) [2024-11-15T05:43:40.332] [INFO] - Message: Message#Unknown[🗣Contact] [2024-11-15T05:43:42.184] [INFO] - Message: Message#Unknown[🗣ContactRic>@👥Room<23金财闲聊群] [2024-11-15T05:44:05.733] [INFO] - Message: Message#Text[🗣ContactRichardMiku>@👥Room<loading...] 当前时间 [2024-11-15T05:44:05.734] [INFO] - starting fetching api: http://sdtbubot:8080/MessageReceive [2024-11-15T05:44:06.158] [INFO] - 调用 bot api 发送 消息 给 Contact: 11/15/2024 13:44:05 [2024-11-15T05:44:06.174] [ERROR] - uncaughtException SyntaxError: Unexpected end of JSON input at JSON.parse () at Response.json (/app/node_modules/.pnpm/node-fetch-commonjs@3.3.2/node_modules/node-fetch-commonjs/index.js:707:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async handleResSendMsg (/app/src/service/msgSender.js:612:20)

所以请按以下格式描述问题:

提供有用的信息