极光推送 通过registration_id 推送,报cannot find user by this audience

registrationid
标签: #<Tag:0x00007fb845ef9bd8>

(Whyメ) #1

java后台通过registrationId点对点推送推送一直报错,后台代码如下:
PushPayload payload = PushPayload.newBuilder().
setPlatform(platform).
setAudience(Audience.registrationId(registrationId)).
setMessage(Message.content(message)).build();
PushResult result = jpushClient.sendPush(payload);
registrationId通过官网已发送消息给app端测试是能收到消息,证明registrationId是可用的,
但是一直报cannot find user by this audience,找不到推送目标,这怎么解。


#2

检查 服务端使用的 Appkey 与客户端是否一致


(Whyメ) #3

appkey是一致的