Skip to content

[BUG] errMsg not match errCode #3386

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

Open
GTKK opened this issue May 26, 2025 · 0 comments
Open

[BUG] errMsg not match errCode #3386

GTKK opened this issue May 26, 2025 · 0 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@GTKK
Copy link

GTKK commented May 26, 2025

OpenIM Server Version

3.8.3.patch.3

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

有时候会出现errCode为0但是errMsg和errDlt不为空的情况,不确定复现的逻辑。
比如有一个操作流程出现了:调用{API_ADDRESS}/msg/user_clear_all_msg接口删除用户所有信息,建一个新群,邀请被删除所有信息的用户进群,errorCode为0,errDlt提示UserIdNotFound,实际上用户ID是存在的,调用{API_ADDRESS}/user/user_register接口也是提示UserIdIsAlreadyExist。判断接口请求的业务是否成功,需要共同判断errCode和是errMsg还是只判断errCode即可?

Screenshots Link

No response

@GTKK GTKK added the bug Categorizes issue or PR as related to a bug. label May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant