Skip to content

[BUG] Open_im_sdkCreateTextMessage() return empty string #73

@YanjieZhao

Description

@YanjieZhao

OpenIM Server Version

3.8.2

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

Open_im_sdkCreateTextMessage() return empty string

1、text is not empty
2、login is successful

log as:
2025-07-30 08:00:06.603 �[34mINFO�[0m �[34m[PID:3618] �[0m [3.8.0] [native_iOS/IOS] [open_im_sdk/caller.go:281] func call req {"operationID": "1753862406603", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).CreateTextMessage-fm", "args": ["这"]}
2025-07-30 08:00:06.615 �[31mERROR�[0m �[31m[PID:3618] �[0m [3.8.0] [native_iOS/IOS] [open_im_sdk/caller.go:276] fn call error {"operationID": "1753862406603", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).CreateTextMessage-fm", "cost time": "11 ms", "error": "1004 RecordNotFoundError"}
2025-07-30 08:00:06.615 �[34mINFO�[0m �[34m[PID:3618] �[0m [3.8.0] [native_iOS/IOS] [open_im_sdk/caller.go:404] input req {"operationID": "1753862406615", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).SendMessage-fm", "args": ["","190","","{"iOSBadgeCount":true,"operatorUserID":"190","title":"Pearl","iOSPushSound":"","ex":"{\"schema\":\"pearl:\/\/chat\/userId=190&nickName=Hey&chatType=1\", \"avatarUrl\":\"https:\/\/d1mn7gube2qi90.cloudfront.net\/_\/aHR0cHM6Ly9wZWFybC1zaHM2ZC5zMy1hY2NlbGVyYXRlLmFtYXpvbmF3cy5jb20vcHVibGljLzIwMjUwNzMwLzAzMGNISnJNUHNvTnBFWGUxd3A0RXEuanBlZw\"}","desc":"You have a new message"}",false]}

Screenshots Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions