You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Response.json (file:///G:/yuanshen%20bot/Yunzai-Bot/node_modules/_node-fe
tch@3.2.4@node-fetch/src/body.js:149:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.request (file:///G:/yuanshen%20bot/Yunzai-Bot/plugins/miao-p
lugin/components/profile-data/enka.js:14:16)
at async Object.request (file:///G:/yuanshen%20bot/Yunzai-Bot/plugins/miao-p
lugin/components/Profile.js:61:14)
at async Module.getProfile (file:///G:/yuanshen%20bot/Yunzai-Bot/plugins/mia
o-plugin/apps/character/profile-common.js:185:14)
at async Object.dealMsg (file:///G:/yuanshen%20bot/Yunzai-Bot/lib/dealMsg.js
:193:19)
[2022-07-04T23:36:16.343] [INFO] succeed to send: [Group(887823552)] 请求失败
前几天还可以正常更新面板,没做任何改动这几天更新就失败了,猜测是没有收到 JSON 格式的数据,大概率查询后接收到的是 HTML 的数据,根据实际情况判断是大概率因为连接enka api失败 (或者说被墙了?) 然后接受到 html 404 的数据,尝试一下直连 https://enka.shinshin.moe/ 该网页是OK的,请大佬看看是什么问题
The text was updated successfully, but these errors were encountered:
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Response.json (file:///G:/yuanshen%20bot/Yunzai-Bot/node_modules/_node-fe
tch@3.2.4@node-fetch/src/body.js:149:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.request (file:///G:/yuanshen%20bot/Yunzai-Bot/plugins/miao-p
lugin/components/profile-data/enka.js:14:16)
at async Object.request (file:///G:/yuanshen%20bot/Yunzai-Bot/plugins/miao-p
lugin/components/Profile.js:61:14)
at async Module.getProfile (file:///G:/yuanshen%20bot/Yunzai-Bot/plugins/mia
o-plugin/apps/character/profile-common.js:185:14)
at async Object.dealMsg (file:///G:/yuanshen%20bot/Yunzai-Bot/lib/dealMsg.js
:193:19)
[2022-07-04T23:36:16.343] [INFO] succeed to send: [Group(887823552)] 请求失败
前几天还可以正常更新面板,没做任何改动这几天更新就失败了,猜测是没有收到 JSON 格式的数据,大概率查询后接收到的是 HTML 的数据,根据实际情况判断是大概率因为连接enka api失败 (或者说被墙了?) 然后接受到 html 404 的数据,尝试一下直连 https://enka.shinshin.moe/ 该网页是OK的,请大佬看看是什么问题
The text was updated successfully, but these errors were encountered: