Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[get_user_info, echo=4] API不存在 #11

Closed
MisaLiu opened this issue Jan 9, 2024 · 0 comments
Closed

[get_user_info, echo=4] API不存在 #11

MisaLiu opened this issue Jan 9, 2024 · 0 comments

Comments

@MisaLiu
Copy link

MisaLiu commented Jan 9, 2024

问题描述

在使用 mirai-http-api 间接调用获取账号信息时出现 [get_user_info, echo=4] API不存在 报错

复现

  1. 配置好 OneBot 和 Overflow
  2. 在 Overflow 上安装 mirai-http-api
  3. 通过 mirai-http-api 获取登陆的账号信息

Overflow 版本

2.16.0-10537f2

其他组件版本

  • OneBot: 1.2.0
  • mirai-console: 2.16.0
  • mirai-api-http: 2.9.1

系统日志

No response

网络日志

// ...
2024-01-10 00:30:38 D/Onebot: Send to server --> {"action":"get_user_info","params":{"user_id":1233456,"refresh":false},"echo":4}
2024-01-10 00:30:38 D/Onebot: Client received <-- {"data":null,"echo":4,"message":"API不存在","msg":"API_NOT_FOUND","retcode":404,"status":"failed","wording":"API不存在"}
2024-01-10 00:30:38 W/Onebot: Request failed: [get_user_info, echo=4] API不存在

补充信息

OneBot 提供了 get_stranger_info 这个 API,理论上把这个 API 拿来用就行了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant