iOS JMessage 信息发送失败

cxk
7年前 1.9k 0

激光聊天,多数都可以成功,有少部分出现如下错误球解答,而android 可以。

Printing description of error:
Error Domain=com.alamofire.error.serialization.response.jmsg Code=-1011 "Request failed: forbidden (403)" UserInfo={com.alamofire.serialization.response.error.response.jmsg=<NSHTTPURLResponse: 0x1744244c0> { URL: https://sdk.im.jpush.cn/users/batch?idtype=username } { status code: 403, headers {
    "Content-Length" = 78;
    "Content-Type" = "application/json;charset=UTF-8";
    Date = "Wed, 19 Apr 2017 10:16:20 GMT";
    Server = nginx;
} }, com.alamofire.serialization.response.error.data.jmsg=<7b226572 726f7222 3a7b2263 6f646522 3a383938 3030322c 226d6573 73616765 223a225b 63326264 35343765 2d303434 382d3437 62652d62 3866322d 61653934 39313632 65353965 2d315d22 7d7d>, NSErrorFailingURLKey=https://sdk.im.jpush.cn/users/batch?idtype=username, NSLocalizedDescription=Request failed: forbidden (403)}

1个回答

热门排序
  • cxk
    7年前

    然而并不是JPush的问题吧,而是IM即时聊天的错误,其中的错误是alamofire 的error Code -1011,不是JPush的。