分组推送失败,cannot find user by this audience

zouyuanfeng
2018-01-03 02:05 2.6k 0

之前用的是单推的,只是把JPushClient#sendPush改成了GroupPushClient#sendGroupPush,key改成了对应的groupKey,其他没有变化,是还需要改什么吗

{
  "935055881cb3afce340d193f": {
    "msg_id": 29273399735913172,
    "error": {
      "message": "cannot find user by this audience",
      "code": 1011
    }
  },
  "c9b2ea7ad4307bf8e61d2ccb": {
    "msg_id": 29273399735913172,
    "error": {
      "message": "cannot find user by this audience",
      "code": 1011
    }
  },
  "42207462fd7e14922f8de07b": {
    "msg_id": 489109776,
    "error": {
      "message": "cannot find user by this audience",
      "code": 1011
    }
  }
}

2个回答

热门排序
  • 你这样 ClientConfig clientConfig=ClientConfig.getInstance(); clientConfig.setPushHostName("https://bjapi.push.jiguang.cn"); 展示全部
  • 你的意思是你单独对其中一个 AppKey 做推送,条件一样,不会报错 1011 吗?
    请将你单独推送不会报错的AppKey和msgid提供一下。