Skip to content

[BUG] Repeated JSON argument deserialization leads to duplicated parameters (GetUsersInfo body exploded) #1015

@John-Funcity

Description

@John-Funcity

OpenIM SDK Version

3.8.2

OpenIM Server Version

3.8.2

SDK Platform

iOS SDK

Device Model

iphone 16

Operating System Version

iOS 17

Bug Description and Steps to Reproduce

📦 Environment
• Module: openim-sdk-core/v3
• File: caller.go
• Function: call_()
• SDK Version: v3.8.0
• Platform: native iOS

2025-07-30 09:07:01.101 �[34mINFO�[0m �[34m[PID:3715] �[0m [3.8.0] [native_iOS/IOS] [open_im_sdk/caller.go:120] func call req {"operationID": "1753866421101", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/user.(*User).GetUsersInfo-fm", "args": ["["190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007",""]"]}

2025-07-30 09:07:01.102 �[37mDEBUG�[0m �[37m[PID:3715] �[0m [3.8.0] [native_iOS/IOS] [network/http_client.go:96] ApiRequest {"operationID": "1753866421101", "url": "https://xxxxxx/user/get_users_info", "token": "", "body": "{"userIDs":["190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007","","190","","10396006","","","","","10114001","","","","10470007","17","10414002","10124002","10300001","209","10564000","10538000","10190000","10582000","10422000","10320001","10218003","","","","","","10432007",""]}"}

Screenshots Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions