Skip to content

[BUG] After calling IMSDK.inviteUserToGroup, when calling IMSDK.getGroupMemberList, the error ""[object Object]" is not valid JSON" 10006 occurred. #54

@910262302

Description

@910262302

OpenIM Server Version

3.8.3

Operating System and CPU Architecture

Windows (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

问题描述:
IMSDK.inviteUserToGroup后,调用IMSDK.getGroupMemberList出现""[object Object]" is not valid JSON"10006错误

重现步骤:
1、正常登录;
2、调用 IMSDK.createGroup创建群聊,参数为needVerification:2;
3、调用 IMSDK.inviteUserToGroup邀请入群;
4、调用IMSDK.getGroupMemberList重新查询群成员信息,参数为:offset:0,count:20,出现"[object Object]" is not valid JSON"10006错误;
5、重新进入群聊详情页面,首次调用IMSDK.getGroupMemberList正常,重复调用IMSDK.getGroupMemberList必现"[object Object]" is not valid JSON"10006错误

预期结果:
能够正常调用IMSDK.getGroupMemberList查看群成员列表信息

Screenshots Link

https://dcb-resource.gogpay.cn/temp/open_im_getGroupMemberList.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions