openimsdk / open-im-sdk-ios

An OpenIM SDK in Objective-C for iOS
https://openim.io
MIT License
159 stars 144 forks source link

[BUG] Upload img or voice report error msg:unexpected end of JSON input, code:10002 #51

Closed pengxu1013 closed 1 month ago

pengxu1013 commented 2 months ago

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

macOS (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

Error 10002 was reported when the network image and voice were uploaded. The error message was unexpected end of JSON input。The demo will report the same error,Uploaded using the "sendMessageNotOss" method 2 3

Screenshots Link

No response

ptisnoob commented 2 months ago

same issues

std-s commented 1 month ago

@pengxu1013 , @ptisnoob offlinePushInfo cannot be nil. The parameter restrictions will be adjusted in the next version.

ptisnoob commented 1 month ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。