【问题标题】:Loading channel error 800101 when loading group channels Sendbird加载群组频道 Sendbird 时加载频道错误 800101
【发布时间】:2019-06-04 12:54:56
【问题描述】:

当我尝试从该方法加载Sendbird SDK 中的组频道时出现以下错误:

self.groupChannelListQuery?.loadNextPage(completionHandler: { (channels, error) in }

错误域=需要连接。代码=800101“(空)”

【问题讨论】:

  • 检查你的连接可能是你没有连接到服务器。docs.sendbird.com/ios/error_codes
  • 每次我想获取对话时都需要连接用户吗?目前我只在登录时连接。
  • 你不需要每次都连接,但你需要检查它是否连接,你可以为它做通用功能。

标签: ios swift sendbird


【解决方案1】:

来自 sendbird 文档

注意:您必须先连接到 SendBird 服务器,然后才能通过 SDK 调用任何方法(初始化 SendBird 实例除外)。如果您尝试在不连接的情况下调用方法,则会返回 SBDErrorConnectionRequired (800101) 错误。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-08-03
    • 2013-06-05
    • 2013-06-04
    • 1970-01-01
    • 2014-12-29
    • 2012-04-15
    • 2021-04-23
    • 1970-01-01
    相关资源
    最近更新 更多